On Mon, 2008-08-18 at 23:04 +0800, Max Zhen wrote: > After some off-line discussion w/ Danek, we agree that it makes sense to > only raise one specific dlpi exception. So, only one exception will be > raise in this module: dlpi.error > The accompanying value is: > (dlpi_error_number, string), when it is caused by a dlpi specific > error, or, > (DL_SYSERR, errno, string) when the error is coming from a system call. > The dlpi_error_number is the error return value, other than DL_SYSERR, > from dlpi_*. > The string is used to describe what went wrong during the call.
Great, thanks for working this out, Max. This addresses all of my issues. -Seb