Class pdx
Exception --+
|
pdx
This class is used internally for raising custom exceptions and
includes support for automated Windows error message resolution and
formatting. For example, to raise a generic error you can use:
raise pdx("Badness occured.")
To raise a Windows API error you can use:
raise pdx("SomeWindowsApi()", True)
| Method Summary |
| |
__init__(self,
message,
win32_exception)
|
| |
__str__(self)
|
| Inherited from Exception |
| |
__getitem__(...)
|
error_code
-
- Type:
-
NoneType
- Value:
|
message
-
- Type:
-
NoneType
- Value:
|