Enumerations | |
enum | libnfsnapi_error_t { LIBNFSNAPI_ERROR_NONE = 0, LIBNFSNAPI_ERROR_NOTIMPLEMENTED = 1, LIBNFSNAPI_ERROR_MEMORY = 2, LIBNFSNAPI_ERROR_NETWORK = 3, LIBNFSNAPI_ERROR_LIBCURL = 4, LIBNFSNAPI_ERROR_ARGUMENT = 5, LIBNFSNAPI_ERROR_PROTOCOL = 6 } |
Functions | |
const char * | libnfsnapi_strerror (libnfsnapi_error_t error) |
NULL
, or a non-zero value. To determine the precise nature of the error, an error code is often available, either as a return value from a function, or via libnfsnapi_mgr_error.These error codes always reference a member of the libnfsnapi_error_t enumeration; they can be turned into human-readable messages by using the libnfsnapi_strerror function.
|
|
Return a textual description of an error.
Definition at line 10 of file error.c. Referenced by libnfsnapi_mgr_strerror(). |