monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Improving the note_netsync_* hooks for logging


From: Matthew A. Nicholson
Subject: Re: [Monotone-devel] Improving the note_netsync_* hooks for logging
Date: Wed, 25 Oct 2006 11:24:15 -0500
User-agent: Icedove 1.5.0.7 (X11/20061014)

Timothy Brownawell wrote:

Currently it uses these, somewhat based on the HTTP codes:
  const static int no_error = 200;
  const static int bad_request = 400;
  const static int protocol_error = 401;
  const static int permission_error = 403;
  //const static int other_error = 500;
  const static int connection_broken = 504;

You could have also used errno style error codes, although HTTP codes are probably more widely known (maybe not).

--
Matthew A. Nicholson
matt-land.com




reply via email to

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