HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openexr_errors.h File Reference
#include "openexr_conf.h"
#include <stdint.h>
+ Include dependency graph for openexr_errors.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int32_t exr_result_t
 

Enumerations

enum  exr_error_code_t {
  EXR_ERR_SUCCESS = 0, EXR_ERR_OUT_OF_MEMORY, EXR_ERR_MISSING_CONTEXT_ARG, EXR_ERR_INVALID_ARGUMENT,
  EXR_ERR_ARGUMENT_OUT_OF_RANGE, EXR_ERR_FILE_ACCESS, EXR_ERR_FILE_BAD_HEADER, EXR_ERR_NOT_OPEN_READ,
  EXR_ERR_NOT_OPEN_WRITE, EXR_ERR_HEADER_NOT_WRITTEN, EXR_ERR_READ_IO, EXR_ERR_WRITE_IO,
  EXR_ERR_NAME_TOO_LONG, EXR_ERR_MISSING_REQ_ATTR, EXR_ERR_INVALID_ATTR, EXR_ERR_NO_ATTR_BY_NAME,
  EXR_ERR_ATTR_TYPE_MISMATCH, EXR_ERR_ATTR_SIZE_MISMATCH, EXR_ERR_SCAN_TILE_MIXEDAPI, EXR_ERR_TILE_SCAN_MIXEDAPI,
  EXR_ERR_MODIFY_SIZE_CHANGE, EXR_ERR_ALREADY_WROTE_ATTRS, EXR_ERR_BAD_CHUNK_LEADER, EXR_ERR_CORRUPT_CHUNK,
  EXR_ERR_INCORRECT_PART, EXR_ERR_INCORRECT_CHUNK, EXR_ERR_USE_SCAN_DEEP_WRITE, EXR_ERR_USE_TILE_DEEP_WRITE,
  EXR_ERR_USE_SCAN_NONDEEP_WRITE, EXR_ERR_USE_TILE_NONDEEP_WRITE, EXR_ERR_INVALID_SAMPLE_DATA, EXR_ERR_FEATURE_NOT_IMPLEMENTED,
  EXR_ERR_UNKNOWN
}
 

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...