NAME

CLI::Framework::Exceptions - Exceptions used by CLIF

EXCEPTION TYPES

This package defines the following exception types. These exception objects are created using Exception::Class and are subtypes of Exception::Class::Base.

CLI::Framework::Exception

description

General CLIF error

alias

throw_clif_exception

CLI::Framework::Exception::AppHookException

description

Application hook method failed preconditions

alias

throw_app_hook_exception

CLI::Framework::Exception::AppOptsParsingException

description

Failed parsing of application options

alias

throw_app_opts_parse_exception

CLI::Framework::Exception::AppOptsValidationException

description

Failed validation of application options

alias

throw_app_opts_validation_exception

CLI::Framework::Exception::AppInitException

description

Failed application initialization

alias

throw_app_init_exception

CLI::Framework::Exception::AppArgumentsException

description

Invalid application arguments

alias

throw_app_args_exception

CLI::Framework::Exception::CmdRegistrationException

description

Failed command registration

alias

throw_cmd_registration_exception

CLI::Framework::Exception::TypeException

description

Object is not of the proper type

alias

throw_type_exception

CLI::Framework::Exception::CmdOptsParsingException

description

Failed parsing of command options

alias

throw_cmd_opts_parse_exception

CLI::Framework::Exception::CmdValidationException

description

Failed validation of command options/arguments

alias

throw_cmd_validation_exception

CLI::Framework::Exception::CmdRunException

description

Failure to run command

alias

throw_cmd_run_exception

EXPORTS

All aliases are available for use by client code (but none are exported by default). The ':all' tag causes all of the aliases to be exported.

SEE ALSO

Exception::Class

CLI::Framework::Application