Exceptions¶
cooked_input defines a number of custom exceptions. These are mainly used for tables and
commands.
cooked_input exceptions are generally only used for commands. See GetInputCommand for more information on
using commands.
ConvertorError:¶
-
class
cooked_input.ConvertorError¶ raised by a when a value does not pass conversion.
MaxRetriesError:¶
-
class
cooked_input.MaxRetriesError¶ raised when the maximum number of retries is exceeded.
GetInputInterrupt:¶
-
class
cooked_input.GetInputInterrupt¶ A cancellation command (COMMAND_ACTION_CANCEL) occurred.
RefreshScreenInterrupt:¶
-
class
cooked_input.RefreshScreenInterrupt¶ When raised, directs
cooked_inputto refresh the display. Used primarily to refresh table items.
PageUpRequest:¶
-
class
cooked_input.PageUpRequest¶ When raised, directs
cooked_inputto go to the previous page in paginated tables
PageDownRequest:¶
-
class
cooked_input.PageDownRequest¶ When raised, directs
cooked_inputto go to the next page in paginated tables
FirstPageRequest:¶
-
class
cooked_input.FirstPageRequest¶ When raised, directs
cooked_inputto go to the first page in paginated tables
LastPageRequest:¶
-
class
cooked_input.LastPageRequest¶ When raised, directs
cooked_inputto go to the last page in paginated tables