| 1 | package App::CLI::Extension::Component::ErrorHandler; | ||
| 2 | |||
| 3 | =pod | ||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | App::CLI::Extension::Component::ErrorHandler - for App::CLI::Extension error module | ||
| 8 | |||
| 9 | =head1 VERSION | ||
| 10 | |||
| 11 | 1.421 | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | 18 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 18 | ▶ | use App::CLI::Extension::Exception; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 18 | ▶ | use Error; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 18 | our $VERSION = '1.421'; | |
| 20 | |||
| 21 | 0 | ▶ | sub throw { |
|
Subroutine
throw: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 22 | |||
| 23 | 0 | my($self, $message) = @_; | |
| 24 | 0 | Error::throw App::CLI::Extension::Exception $message; | |
| 25 | } | ||
| 26 | |||
| 27 | 18 | 1; | |
| 28 | |||
| 29 | __END__ | ||