| 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 | 25 | use strict; | |||
| 4 | 6 | ||||||
| 4 | 97 | ||||||
| 4 | 4 | 4 | 19 | use warnings; | |||
| 4 | 8 | ||||||
| 4 | 77 | ||||||
| 5 | 4 | 4 | 20 | use Moo; | |||
| 4 | 8 | ||||||
| 4 | 22 | ||||||
| 6 | |||||||
| 7 | use overload | ||||||
| 8 | 17 | 17 | 11139 | '""' => sub { shift->message }, | |||
| 9 | 4 | 4 | 1162 | fallback => 1; | |||
| 4 | 9 | ||||||
| 4 | 39 | ||||||
| 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__ |