Error codes.
Synopsis:
typedef enum mmmd_errcode {
MMMD_ERR_NONE = 0,
MMMD_ERR_OTHER,
MMMD_ERR_NO_MDPS,
MMMD_ERR_NOT_SUPPORTED,
MMMD_ERR_MALFORMED_REQUEST,
MMMD_ERR_NO_PARSERS,
MMMD_ERR_CALLDEPTH_EXCEEDED,
MMMD_ERR_NO_MEMORY,
MMMD_ERR_CANT_OPEN_FILE,
MMMD_ERR_CANT_READ_FILE,
MMMD_ERR_CANT_RECONFIGURE,
} mmmd_errcode_t;
Data:
-
MMMD_ERR_NONE
- No error occurred.
-
MMMD_ERR_OTHER
- An error not listed here occurred.
-
MMMD_ERR_NO_MDPS
- No metadata plugins are loaded.
-
MMMD_ERR_NOT_SUPPORTED
- The request isn't supported.
-
MMMD_ERR_MALFORMED_REQUEST
- The request isn't properly formed.
-
MMMD_ERR_NO_PARSERS
- No parsers were found for the request.
-
MMMD_ERR_CALLDEPTH_EXCEEDED
- The derived metadata call depth was exceeded (presently not applicable).
-
MMMD_ERR_NO_MEMORY
- No memory is available.
-
MMMD_ERR_CANT_OPEN_FILE
- The file couldn't be opened.
-
MMMD_ERR_CANT_READ_FILE
- The file couldn't be read.
-
MMMD_ERR_CANT_RECONFIGURE
- The configuration was already set (presently not applicable).
Library:
libmd
Description:
The enumerated error codes.