Base class for exceptions in this library. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | __str__ |
Build the string to be displayed. More... | |
def | handle |
Define behavior to follow in case this error is caught: diplay error and exit program. More... | |
Public Attributes | |
msg | |
excp | |
frame_info | |
Base class for exceptions in this library.
Definition at line 6 of file error_handling.py.
def pylmflib.pylmflib.utils.error_handling.Error.__init__ | ( | self, | |
msg, | |||
excp = None |
|||
) |
Constructor.
msg | String to be reported to user. |
excp | Raised system exception if any: IOError, KeyboardInterrupt, SystemExit, IndexError, KeyError, AttributeError, TypeError, NameError, UnboundLocalError, ValueError. |
Definition at line 9 of file error_handling.py.
def pylmflib.pylmflib.utils.error_handling.Error.__str__ | ( | self | ) |
Build the string to be displayed.
Definition at line 21 of file error_handling.py.
def pylmflib.pylmflib.utils.error_handling.Error.handle | ( | self | ) |
Define behavior to follow in case this error is caught: diplay error and exit program.
Definition at line 33 of file error_handling.py.
pylmflib.pylmflib.utils.error_handling.Error.excp |
Definition at line 16 of file error_handling.py.
pylmflib.pylmflib.utils.error_handling.Error.frame_info |
Definition at line 19 of file error_handling.py.
pylmflib.pylmflib.utils.error_handling.Error.msg |
Definition at line 15 of file error_handling.py.