[ CLASS ] - Error class.
More...
◆ __init__()
def sStash.stashLib.Error.__init__ |
( |
|
self, |
|
|
|
errorMessage = None |
|
) |
| |
Constructor.
- Parameters
-
errorMessage | [ str | None | in ] - Error message. |
- Exceptions
-
- Returns
- None - None.
◆ __str__()
def sStash.stashLib.Error.__str__ |
( |
|
self | ) |
|
String representation.
- Exceptions
-
- Returns
- str - String representation.
◆ designator()
def sStash.stashLib.Error.designator |
( |
|
self | ) |
|
Designator.
- Exceptions
-
- Returns
- str - Designator.
◆ module()
def sStash.stashLib.Error.module |
( |
|
self | ) |
|
Module.
- Exceptions
-
- Returns
- str - Module.
◆ number()
def sStash.stashLib.Error.number |
( |
|
self | ) |
|
Number.
- Exceptions
-
- Returns
- str - Number.
◆ category()
def sStash.stashLib.Error.category |
( |
|
self | ) |
|
Category.
- Exceptions
-
- Returns
- str - Category.
◆ message()
def sStash.stashLib.Error.message |
( |
|
self | ) |
|
Message.
- Exceptions
-
- Returns
- str - Message.
◆ errorMessage()
def sStash.stashLib.Error.errorMessage |
( |
|
self | ) |
|
Error message.
- Exceptions
-
- Returns
- str - Error message.
◆ setError()
def sStash.stashLib.Error.setError |
( |
|
self, |
|
|
|
errorMessage |
|
) |
| |
Sets error.
Method will return True
if given error is in valid format, False
otherwise.
- Parameters
-
errorMessage | [ str | None | in ] - Error message. |
- Exceptions
-
- Returns
- bool - Result.
The documentation for this class was generated from the following file: