| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Moose::Exception::NoCasesMatched; |
|
2
|
|
|
|
|
|
|
our $VERSION = '2.2205'; |
|
3
|
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1403
|
use Moose; |
|
|
2
|
|
|
|
|
7
|
|
|
|
2
|
|
|
|
|
15
|
|
|
5
|
|
|
|
|
|
|
extends 'Moose::Exception'; |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has 'to_match' => ( |
|
8
|
|
|
|
|
|
|
is => 'ro', |
|
9
|
|
|
|
|
|
|
isa => 'Any', |
|
10
|
|
|
|
|
|
|
required => 1 |
|
11
|
|
|
|
|
|
|
); |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has 'cases_to_be_matched' => ( |
|
14
|
|
|
|
|
|
|
is => 'ro', |
|
15
|
|
|
|
|
|
|
isa => 'ArrayRef', |
|
16
|
|
|
|
|
|
|
required => 1 |
|
17
|
|
|
|
|
|
|
); |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub _build_message { |
|
20
|
2
|
|
|
2
|
|
6
|
my $self = shift; |
|
21
|
2
|
|
|
|
|
61
|
my $to_match = $self->to_match; |
|
22
|
|
|
|
|
|
|
|
|
23
|
2
|
|
|
|
|
52
|
return "No cases matched for $to_match"; |
|
24
|
|
|
|
|
|
|
} |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
27
|
|
|
|
|
|
|
1; |