Wed Jul 28 08:01:22 CEST 2010

Translating error codes

I notices an interesting pattern: because error codes are not real
exceptions, they do not have a clear identity.  I.e. an error code
obtained from a different framework probably needs to be translated
before it is returned up the chain.

In C, it seems to be best to keep a single error namespace for all
errors in a single module to avoid multiple translations.