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

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

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

General CLIF error
"throw_clif_exception"

Application hook method failed preconditions
"throw_app_hook_exception"

Failed parsing of application options
"throw_app_opts_parse_exception"

Failed validation of application options
"throw_app_opts_validation_exception"

Failed application initialization
"throw_app_init_exception"

"Invalid command"
"throw_invalid_cmd_exception"

Failed command registration
"throw_cmd_registration_exception"

Object is not of the proper type
"throw_type_exception"

Failed parsing of command options
"throw_cmd_opts_parse_exception"

Failed validation of command options/arguments
"throw_cmd_validation_exception"

Failure to run command
"throw_cmd_run_exception"

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.

Exception::Class

CLI::Framework::Application

2022-06-11 perl v5.34.0