Ämne: Re: [dcdev] adc |
Från: Todd Pederzani |
Datum: 2004-01-20 5:23 |
Till: Direct Connect developers |
Using an error code in ERR is a good idea however but the code you gave is rather ... illogical. They seems to be grouped by program sending them (client, hub, ...) but I think it is more logic to group them by kind of results (ok, recoveral, not recoverable, fatal) and then by program (or program and then kind).Good point, Eric. I think Arne expanded error codes based on a couple pieces of feedback. The feedback may not have been all coherent though. I think I prefer SMTP[1] style codes over HTTP[2] style ones. I'm not sure how well they map to error conditions in the current or next protocols, but...
1yz Positive Preliminary replyIt has a nice mirroring of the fourcc code in ADC... but it might not be too applicable.
2yz Positive Completion reply
3yz Positive Intermediate reply
4yz Transient Negative Completion reply
5yz Permanent Negative Completion reply