nverrval.h is a header used for macro expansion of the errors defined for the Nv methods & interfaces.
It is used for C pre-processor macro expansion of error codes, and the descriptions of those error codes.
Each error code has a unique name, description and value to make it easier for developers to identify the source of a failure. Thus there are no generic or unknown error codes.
Provides return error codes for functions.
Macros | |
#define | NVERROR_LIST(_m) |
This macro contains the list of NvError error codes. More... | |
Enumerations | |
enum | NvError { NvSuccess = NvError_Success, NvError_Force32 = 0x7FFFFFFF } |
The NvError enumeration contains ALL return / error codes. More... | |
#define NVERROR_LIST | ( | _m | ) |
This macro contains the list of NvError error codes.
It defines each error code token, along with its error code value, and associated error string. This macro is used to define the tokens of the NvError enum.
Definition at line 43 of file nverrval.h.
enum NvError |
The NvError enumeration contains ALL return / error codes.
Error codes are specifically explicit to make it easy to identify where an error came from.
All error codes are derived from the macros in nverrval.h.
Enumerator | |
---|---|
NvSuccess | |
NvError_Force32 | Max value for nv-error. |