| 1 | package MooseX::DeclareX::Keyword::exception; | ||
| 2 | |||
| 3 | 8 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 8 | $MooseX::DeclareX::Keyword::exception::AUTHORITY = 'cpan:TOBYINK'; | |
| 5 | 8 | $MooseX::DeclareX::Keyword::exception::VERSION = '0.009'; | |
| 6 | } | ||
| 7 | |||
| 8 | 8 | require MooseX::Declare; | |
| 9 | 8 | require Throwable::Error; | |
| 10 | |||
| 11 | 8 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 8 | extends 'MooseX::DeclareX::Keyword::class'; | |
| 13 | |||
| 14 | 8 | ▶ | use constant preferred_identifier => 'exception'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 2 | ▶ | after add_namespace_customizations => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 17 | 2 | my ($self, $ctx) = @_; | |
| 18 | 2 | $ctx->add_preamble_code_parts('extends qw/Throwable::Error/'); | |
| 19 | 8 | }; | |
| 20 | |||
| 21 | 2 | ▶ | around auto_make_immutable => sub { 0 }; |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 8 | "For the manufacture of the most exceptional classes." | |