| 1 | package Mason::Exceptions; | ||
| 2 | 22 | $Mason::Exceptions::VERSION = '2.24'; | |
| 3 | 22 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 22 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 22 | ▶ | use Exception::Class ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 22 | 'Mason::Exception' => { description => 'generic base class for all Mason exceptions', }, | |
| 8 | 'Mason::Exception::Abort' => { | ||
| 9 | isa => 'Mason::Exception', | ||
| 10 | fields => [qw(aborted_value)], | ||
| 11 | description => 'a component called $m->abort' | ||
| 12 | }, | ||
| 13 | |||
| 14 | 'Mason::Exception::TopLevelNotFound' => { | ||
| 15 | isa => 'Mason::Exception', | ||
| 16 | description => 'the top level component could not be found' | ||
| 17 | }, | ||
| 18 | 22 | ); | |
| 19 | |||
| 20 | 22 | 1; | |
| 21 | |||
| 22 | __END__ | ||