#include <cel_errutil.h>
Static Public Member Functions | |
static size_t | getOSError () |
static GeneralErrorDefinition | errorFromOSError () |
static GeneralErrorDefinition | errorFromOSError (size_t inErrorCode) |
static GeneralErrorDefinition | errorFromErrno () |
static GeneralErrorDefinition | errorFromErrno (int inErrno) |
static String | stringFromOSError () |
static String | stringFromOSError (size_t inErrorCode) |
static String | stringFromErrno () |
static String | stringFromErrno (int inErrno) |
OS dependent error -> Library error code conversion.
|
static |
This function converts std::errno
into the library defined error code defined in cel_error.h .
std::errno
.
|
static |
This function converts std::errno
into the library defined error code defined in cel_error.h .
inErrno | OS error code. |
std::errno
.
|
static |
This function converts the OS's current error status into the library defined error code defined in cel_error.h .
|
static |
This function converts the OS's current error status into the library defined error code defined in cel_error.h .
inErrorCode | OS error code. |
|
static |
Get OS error.
|
static |
This function returns the string that is mapped to the current std::errno
value.
inErrno | OS error code. |
|
static |
This function returns the string that is mapped to the current std::errno
value.
|
static |
This function returns the string that is mapped to the current error status.
Referenced by Celartem::PlatformException::getPlatformErrorDescription().
|
static |
This function returns the string that is mapped to the current error status.
inErrorCode | OS error code. |