monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] monotone automate stdio


From: Zack Weinberg
Subject: Re: [Monotone-devel] monotone automate stdio
Date: Tue, 17 May 2005 22:45:46 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Timothy Brownawell <address@hidden> writes:

> 400 error/general
> 410 error/syntax
> 420 error/unknown command
> 450 error text
> 490 done (not successful)

Pet peeve: 4xx are supposed to be *transient* errors; it's the 5xx
series that are hard errors.  The convention goes back before the
Internet, and HTTP had to go and get it wrong.

There's a complete list of first-digit meanings in RFC 821 or 822
(whichever is about the transport protocol instead of the message
format; I can never keep them straight).

Also, there's a secondary convention for how to deliver a verbose
diagnostic: you don't do it with its own code, you do it like this

500-An error occurred.
500-I'm not going to tell you what kind of error.
500 So nyah.

zw




reply via email to

[Prev in Thread] Current Thread [Next in Thread]