CLI::Framework::Exceptions(3pm)

CLI::Framework::Exceptions3pm

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::InvalidCmdException

description

"Invalid command"

alias

"throw_invalid_cmd_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 "alias"es to be exported.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–10
  2. 11
  3. 12–13

From libcli-framework-perl 0.05-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.