blib/lib/DBIx/Class/ParseError/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 18 | 18 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package DBIx::Class::ParseError::Error; | ||||||
2 | |||||||
3 | 4 | 4 | 30 | use strict; | |||
4 | 9 | ||||||
4 | 136 | ||||||
4 | 4 | 4 | 24 | use warnings; | |||
4 | 10 | ||||||
4 | 98 | ||||||
5 | 4 | 4 | 24 | use Moo; | |||
4 | 10 | ||||||
4 | 28 | ||||||
6 | |||||||
7 | use overload | ||||||
8 | 17 | 17 | 14295 | '""' => sub { shift->message }, | |||
9 | 4 | 4 | 1578 | fallback => 1; | |||
4 | 11 | ||||||
4 | 49 | ||||||
10 | |||||||
11 | extends 'DBIx::Class::Exception'; | ||||||
12 | |||||||
13 | has message => (is => 'ro', required => 1); | ||||||
14 | |||||||
15 | has [qw(type operation table source_name column_data columns)] => ( is => 'ro' ); | ||||||
16 | |||||||
17 | 1; | ||||||
18 | |||||||
19 | __END__ |