blib/lib/Moose/Exception/Role/Role.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Moose/Exception/Role/ParamsHash.pm ↑ Summary blib/lib/Moose/Exception/Role/RoleForCreate.pm »
1 package Moose::Exception::Role::Role;
2 26 our $VERSION = '2.4001';
3  
4 # use Moose::Util 'throw_exception';
5 26 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 26 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 26 1;
« blib/lib/Moose/Exception/Role/ParamsHash.pm ↑ Summary blib/lib/Moose/Exception/Role/RoleForCreate.pm »