Re: [Nbd] [PATCH 5/5] nbd-server: use one error domain for all NBD server errors
- To: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@...1258...>
- Cc: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] [PATCH 5/5] nbd-server: use one error domain for all NBD server errors
- From: Wouter Verhelst <w@...112...>
- Date: Sat, 12 Jan 2013 12:44:12 +0100
- Message-id: <20130112114412.GQ25658@...3...>
- In-reply-to: <20130111215506.GA8744@...1259...>
- References: <20130111215506.GA8744@...1259...>
On Fri, Jan 11, 2013 at 11:55:06PM +0200, Tuomas Jorma Juhani Räsänen wrote:
> The purpose of the commit is to move all error identifiers to one
> namespace common for all errors originating from NBD server. Using
> multiple internal error domains would add only bureaucracy without any
> real gain. Error domains should be used to separate errors between
> modules, not within modules. For example, NBD client would define its
> own error domain and codes.
This makes sense, but as written it depends on the two goto changes that
I requested earlier, so I'll wait for that.
[...]
--
Copyshops should do vouchers. So that next time some bureaucracy requires you
to mail a form in triplicate, you can mail it just once, add a voucher, and
save on postage.
Reply to: