Make ErrnoException's enforce available
Enforces success of file I/O operation
Provides standard reusable exception API
Tries to evaluate expr. If it fails, checks the global errno and uses matching message as base for exception message, as well as throws the exception.
Calls Func automatically checking errno and storing name
Calls enforceRet expecting Func to return non-NULL
Calls enforceRet interpreting return value as error code
Initializes local reusable error message based on global errno value and resets errno to 0.
Initializes local reusable error message based on supplied errno value
Convenience method to append extra message in brackets
Exception class that checks error status on both file descriptor and via global errno