starpy
.error
index
/home/mcfletch/pylive/starpy/error.py
Collection of StarPy-specific error classes
Classes
Exception
AGICommandFailure
AMICommandFailure
MenuFinished
MenuExit
MenuTimeout
MenuUnexpectedOption
class
AGICommandFailure
(
Exception
)
AGI Command failure of some description
Methods inherited from
Exception
:
__getitem__
(...)
__init__
(...)
__str__
(...)
class
AMICommandFailure
(
Exception
)
AMI Command failure of some description
Methods inherited from
Exception
:
__getitem__
(...)
__init__
(...)
__str__
(...)
class
MenuExit
(
MenuFinished
)
User exited from the menu voluntarily
Method resolution order:
MenuExit
MenuFinished
Exception
Methods inherited from
Exception
:
__getitem__
(...)
__init__
(...)
__str__
(...)
class
MenuFinished
(
Exception
)
Base class for reporting non-standard exits (i.e. not a choice) from a menu
Methods inherited from
Exception
:
__getitem__
(...)
__init__
(...)
__str__
(...)
class
MenuTimeout
(
MenuFinished
)
User didn't complete selection from menu in reasonable time period
Method resolution order:
MenuTimeout
MenuFinished
Exception
Methods inherited from
Exception
:
__getitem__
(...)
__init__
(...)
__str__
(...)
class
MenuUnexpectedOption
(
MenuFinished
)
Somehow the user managed to select an option that doesn't exist?
Method resolution order:
MenuUnexpectedOption
MenuFinished
Exception
Methods inherited from
Exception
:
__getitem__
(...)
__init__
(...)
__str__
(...)