HDK
|
These are a group of definitions related to error handling. More...
Typedefs | |
typedef int32_t | exr_result_t |
Functions | |
EXR_EXPORT const char * | exr_get_default_error_message (exr_result_t code) |
Return a static string corresponding to the specified error code. More... | |
EXR_EXPORT const char * | exr_get_error_code_as_string (exr_result_t code) |
Return a static string corresponding to the specified error code. More... | |
These are a group of definitions related to error handling.
All functions in the C layer will return a result, which will correspond to one of these codes. To ensure binary stability, the return type is separate from the error code, and is a fixed size.
typedef int32_t exr_result_t |
Return type for all functions.
Definition at line 69 of file openexr_errors.h.
enum exr_error_code_t |
Error codes that may be returned by various functions.
Definition at line 31 of file openexr_errors.h.
EXR_EXPORT const char* exr_get_default_error_message | ( | exr_result_t | code | ) |
Return a static string corresponding to the specified error code.
The string should not be freed (it is compiled into the binary).
EXR_EXPORT const char* exr_get_error_code_as_string | ( | exr_result_t | code | ) |
Return a static string corresponding to the specified error code.
The string should not be freed (it is compiled into the binary).