line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# State::Machine Failure Class |
2
|
|
|
|
|
|
|
package State::Machine::Failure; |
3
|
|
|
|
|
|
|
|
4
|
3
|
|
|
3
|
|
2537
|
use Bubblegum::Class; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
29
|
|
5
|
3
|
|
|
3
|
|
34886
|
use Function::Parameters; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
33
|
|
6
|
|
|
|
|
|
|
|
7
|
3
|
|
|
3
|
|
1206
|
use Bubblegum::Constraints -typesof; |
|
3
|
|
|
|
|
9
|
|
|
3
|
|
|
|
|
58
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
extends 'Throwable::Error'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.07'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has 'message' => ( |
14
|
|
|
|
|
|
|
is => 'ro', |
15
|
|
|
|
|
|
|
isa => typeof_string, |
16
|
|
|
|
|
|
|
lazy => 1, |
17
|
|
|
|
|
|
|
builder => '_build_message', |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
|
|
method _build_message { |
|
0
|
|
|
|
|
|
|
21
|
0
|
|
|
|
|
|
"An unexpected failure has occurred" |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |