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

Class ModuleError

source code

Type of module loading and registration error.


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_ERROR_ABI
Module has different ABI version than expected/supported; or required info field are missing.
  MODULE_ERROR_DUPLICATE
A module of the same name has already been registered.
  MODULE_ERROR_INFO
Module query function provided None info.
  MODULE_ERROR_NAME
Module has an invalid name.
  MODULE_ERROR_NESTING
Nested module bundle found.
  MODULE_ERROR_OPEN
Calling g_module_open() on the module failed.
  MODULE_ERROR_QUERY
Module does not contain any query function.
  MODULE_ERROR_REGISTER
The registration function returned False; or the module did not register any function.
Class Variable Details [hide private]

MODULE_ERROR_NAME

Module has an invalid name. It is recommended that module names are valid C identifiers, possibly with dashes instead of underscores, but only really broken names are rejected.

MODULE_ERROR_NESTING

Nested module bundle found. (Since 2.49)