Scroll to navigation

CLI::Framework::Exceptions(3pm) User Contributed Perl Documentation CLI::Framework::Exceptions(3pm)

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

General CLIF error
"throw_clif_exception"

CLI::Framework::Exception::AppHookException

Application hook method failed preconditions
"throw_app_hook_exception"

CLI::Framework::Exception::AppOptsParsingException

Failed parsing of application options
"throw_app_opts_parse_exception"

CLI::Framework::Exception::AppOptsValidationException

Failed validation of application options
"throw_app_opts_validation_exception"

CLI::Framework::Exception::AppInitException

Failed application initialization
"throw_app_init_exception"

CLI::Framework::Exception::InvalidCmdException

"Invalid command"
"throw_invalid_cmd_exception"

CLI::Framework::Exception::CmdRegistrationException

Failed command registration
"throw_cmd_registration_exception"

CLI::Framework::Exception::TypeException

Object is not of the proper type
"throw_type_exception"

CLI::Framework::Exception::CmdOptsParsingException

Failed parsing of command options
"throw_cmd_opts_parse_exception"

CLI::Framework::Exception::CmdValidationException

Failed validation of command options/arguments
"throw_cmd_validation_exception"

CLI::Framework::Exception::CmdRunException

Failure to run command
"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 "alias"es to be exported.

SEE ALSO

Exception::Class

CLI::Framework::Application

2022-06-11 perl v5.34.0