Python LMF library
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | List of all members
pylmflib.pylmflib.utils.error_handling.InputError Class Reference

Exception raised for errors in the input. More...

Inheritance diagram for pylmflib.pylmflib.utils.error_handling.InputError:
pylmflib.pylmflib.utils.error_handling.Error

Public Member Functions

def __init__
 Constructor. More...
 
def handle
 Define behavior to follow in case this error is caught: display error and exit program. More...
 
- Public Member Functions inherited from pylmflib.pylmflib.utils.error_handling.Error
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
 
 expr
 
 frame_info
 
- Public Attributes inherited from pylmflib.pylmflib.utils.error_handling.Error
 msg
 
 excp
 
 frame_info
 

Detailed Description

Exception raised for errors in the input.

Definition at line 44 of file error_handling.py.

Constructor & Destructor Documentation

def pylmflib.pylmflib.utils.error_handling.InputError.__init__ (   self,
  msg,
  expr = None 
)

Constructor.

Parameters
msgExplanation of the error.
exprInput expression in which the error occurred.
Returns
An InputError instance.

Definition at line 47 of file error_handling.py.

Member Function Documentation

def pylmflib.pylmflib.utils.error_handling.InputError.handle (   self)

Define behavior to follow in case this error is caught: display error and exit program.

Definition at line 59 of file error_handling.py.

Member Data Documentation

pylmflib.pylmflib.utils.error_handling.InputError.expr

Definition at line 54 of file error_handling.py.

pylmflib.pylmflib.utils.error_handling.InputError.frame_info

Definition at line 57 of file error_handling.py.

pylmflib.pylmflib.utils.error_handling.InputError.msg

Definition at line 53 of file error_handling.py.


The documentation for this class was generated from the following file: