![]() |
PyXMake Developer Guide 1.0
PyXMake
|
Base class for all transition errors. More...
Public Member Functions | |
__init__ (self, Previous, Following, Message) | |
![]() | |
__new__ (cls, *args, **kwargs) | |
recover (cls, *args) | |
classify (cls, *args, **kwargs) | |
jsonify (self) | |
update (self, **kwargs) | |
__repr__ (self) | |
__str__ (self) | |
__getstate__ (self) | |
__setstate__ (self, _dict) | |
Public Attributes | |
Previous = Previous | |
State at beginning of transition. | |
Following = Following | |
Attempted new state. | |
Message = Message | |
Explanation of why the specific transition is not allowed. | |
Additional Inherited Members | |
![]() | |
__getbase__ (base, cls) | |
Base class for all transition errors.
Raised when an operation attempts a state transition that's not allowed. Attributes: Previous -- State at beginning of transition Following -- Attempted new state Message -- Explanation of why the specific transition is not allowed
Inherited from Error.
PyXMake.Tools.ErrorHandling.TransitionError.__init__ | ( | self, | |
Previous, | |||
Following, | |||
Message ) |
Low-level initialization of transition error class.
Reimplemented from PyXMake.Tools.Utility.AbstractBase.
Definition at line 100 of file ErrorHandling.py.
PyXMake.Tools.ErrorHandling.TransitionError.Following = Following |
Attempted new state.
Definition at line 107 of file ErrorHandling.py.
PyXMake.Tools.ErrorHandling.TransitionError.Message = Message |
Explanation of why the specific transition is not allowed.
Definition at line 109 of file ErrorHandling.py.
PyXMake.Tools.ErrorHandling.TransitionError.Previous = Previous |
State at beginning of transition.
Definition at line 105 of file ErrorHandling.py.