File Coverage

blib/lib/Moose/Exception/Role/Role.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::Role;
2             our $VERSION = '2.2203';
3              
4             # use Moose::Util 'throw_exception';
5 26     26   15105 use Moose::Role;
  26         64  
  26         197  
6              
7             has 'role_name' => (
8             is => 'ro',
9             isa => 'Str',
10             required => 1,
11             documentation => "This attribute can be used for fetching the class's metaclass instance:\n".
12             " my \$metaclass_instance = Moose::Util::find_meta( \$exception->role_name );\n",
13              
14             );
15              
16             1;