Re: [wmii] IXPClient.errstr vs error numbers

From: Kris Maglione <bsdaemon_AT_comcast.net>
Date: Tue, 27 Feb 2007 14:03:44 -0500

On Tue, Feb 27, 2007 at 07:37:22PM +0100, Daniel Schmitz wrote:
>I wonder if there is something like an error code, a simple number for
>each type of error. I mean, having a string describing an error is nice,
> but if i want to make decisions on what error occured, error numbers
>would come in handy.

9P defines error reporting to use strings, always, and never numbers. If
you want to find out the type of error, simply compare the string. It
doesn't make it any more difficult.

-- 
Kris Maglione
Simple jobs always get put off because there will be
time to do them later.

Received on Tue Feb 27 2007 - 20:04:16 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:22:46 UTC