![]() |
PyHelios 0.1.11
|
Classes | |
| class | HeliosError |
| Exception classes for PyHelios library. More... | |
| class | HeliosFileIOError |
| File I/O related errors. More... | |
| class | HeliosGPUInitializationError |
| GPU initialization errors. More... | |
| class | HeliosInvalidArgumentError |
| Invalid argument errors. More... | |
| class | HeliosMemoryAllocationError |
| Memory allocation errors. More... | |
| class | HeliosPluginNotAvailableError |
| Plugin not available errors. More... | |
| class | HeliosRuntimeError |
| Runtime errors from Helios operations. More... | |
| class | HeliosUnknownError |
| Unknown errors. More... | |
| class | HeliosUUIDNotFoundError |
| UUID not found errors. More... | |
Functions | |
| create_exception_from_error_code (error_code, error_message) | |
| Create an appropriate exception instance from an error code and message. | |
| check_helios_error (get_error_func, get_message_func) | |
| Check for Helios errors and raise appropriate Python exceptions. | |
Variables | |
| dict | ERROR_CODE_TO_EXCEPTION |
| pyhelios.exceptions.check_helios_error | ( | get_error_func, | |
| get_message_func ) |
Check for Helios errors and raise appropriate Python exceptions.
This function is designed to be used as an errcheck callback for ctypes function calls.
| get_error_func | Function to get the last error code |
| get_message_func | Function to get the last error message |
| HeliosError | If an error is detected |
Definition at line 135 of file exceptions.py.
| pyhelios.exceptions.create_exception_from_error_code | ( | error_code, | |
| error_message ) |
Create an appropriate exception instance from an error code and message.
| error_code | Error code from the C++ wrapper |
| error_message | Error message from the C++ wrapper |
Definition at line 117 of file exceptions.py.
| dict pyhelios.exceptions.ERROR_CODE_TO_EXCEPTION |
Definition at line 95 of file exceptions.py.