Module gwy :: Class ModuleFileError
[hide private]
[frames] | no frames]

Class ModuleFileError

source code

Error codes returned by file module operations.

File module functions can return any of these codes, except MODULE_FILE_ERROR_UNIMPLEMENTED which is normally only returned by high-level functions gwy_file_load() and gwy_file_save(). Module functions can return it only when they are called with a wrong function name.


Note: All the enumerated values are defined at the module level, not the class level. The are just groupped by class here for easier orientation.

Class Variables [hide private]
  MODULE_FILE_ERROR_CANCELED
Interactive operation was cancelled by user.
  MODULE_FILE_ERROR_CANCELLED
Alias for MODULE_FILE_ERROR_CANCELED.
  MODULE_FILE_ERROR_DATA
Data is corrupted or in an unsupported format.
  MODULE_FILE_ERROR_INTERACTIVE
Operation requires user input, but it was run as RUN_NONINTERACTIVE.
  MODULE_FILE_ERROR_IO
Input/output error occured.
  MODULE_FILE_ERROR_SPECIFIC
Specific module errors that do not fall into any other category (such as the failure to initialize a library used to read the data).
  MODULE_FILE_ERROR_UNIMPLEMENTED
No module implements requested operation.
Class Variable Details [hide private]

MODULE_FILE_ERROR_CANCELED

Interactive operation was cancelled by user. (Since 2.45)

MODULE_FILE_ERROR_SPECIFIC

Specific module errors that do not fall into any other category (such as the failure to initialize a library used to read the data). Seldom used.