Description

Image or Edje load error type

Fields

  • none - No error on load
  • generic - A non-specific error occurred
  • does_not_exist - File (or file path) does not exist
  • permission_denied - Permission denied to an existing file (or path)
  • resource_allocation_failed - Allocation of resources failure prevented load
  • corrupt_file - File corrupt (but was detected as a known format)
  • unknown_format - File is not a known format
  • cancelled - Reading operation has been cancelled during decoding
  • incompatible_file - (Edje only) The file pointed to is incompatible, i.e., it doesn't match the library's current version's format.
  • unknown_collection - (Edje only) The group/collection set to load from was not found in the file
  • recursive_reference - (Edje only) The group/collection set to load from had recursive references on its components

Signature

enum Efl.Image.Load.Error {
    none: 0,
    generic: 1,
    does_not_exist: 2,
    permission_denied: 3,
    resource_allocation_failed: 4,
    corrupt_file: 5,
    unknown_format: 6,
    cancelled: 7,
    incompatible_file: 8,
    unknown_collection: 9,
    recursive_reference: 10
}

C signature

typedef enum {
    EFL_IMAGE_LOAD_ERROR_NONE = 0,
    EFL_IMAGE_LOAD_ERROR_GENERIC = 1,
    EFL_IMAGE_LOAD_ERROR_DOES_NOT_EXIST = 2,
    EFL_IMAGE_LOAD_ERROR_PERMISSION_DENIED = 3,
    EFL_IMAGE_LOAD_ERROR_RESOURCE_ALLOCATION_FAILED = 4,
    EFL_IMAGE_LOAD_ERROR_CORRUPT_FILE = 5,
    EFL_IMAGE_LOAD_ERROR_UNKNOWN_FORMAT = 6,
    EFL_IMAGE_LOAD_ERROR_CANCELLED = 7,
    EFL_IMAGE_LOAD_ERROR_INCOMPATIBLE_FILE = 8,
    EFL_IMAGE_LOAD_ERROR_UNKNOWN_COLLECTION = 9,
    EFL_IMAGE_LOAD_ERROR_RECURSIVE_REFERENCE = 10
} Efl_Image_Load_Error;