blib/lib/Moose/Exception/Role/Class.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Moose::Exception::Role::Class; | ||||||
2 | our $VERSION = '2.2203'; | ||||||
3 | |||||||
4 | 85 | 85 | 63485 | use Moose::Role; | |||
85 | 648 | ||||||
85 | 525 | ||||||
5 | |||||||
6 | has 'class_name' => ( | ||||||
7 | is => 'ro', | ||||||
8 | isa => 'Str', | ||||||
9 | required => 1, | ||||||
10 | documentation => "This attribute can be used for fetching metaclass instance:\n". | ||||||
11 | " my \$metaclass_instance = Moose::Util::find_meta( \$exception->class_name );\n", | ||||||
12 | ); | ||||||
13 | |||||||
14 | 1; |