| blib/lib/ZMQ/FFI/ErrorHandler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package ZMQ::FFI::ErrorHandler; | ||||||
| 2 | $ZMQ::FFI::ErrorHandler::VERSION = '0.18'; | ||||||
| 3 | 1 | 1 | 439 | use Moo::Role; | |||
| 1 | 2 | ||||||
| 1 | 17 | ||||||
| 4 | |||||||
| 5 | requires q(soname); | ||||||
| 6 | |||||||
| 7 | # ZMQ::FFI::ErrorHelper instance | ||||||
| 8 | has error_helper => ( | ||||||
| 9 | is => 'ro', | ||||||
| 10 | required => 1, | ||||||
| 11 | handles => [qw( | ||||||
| 12 | check_error | ||||||
| 13 | check_null | ||||||
| 14 | )], | ||||||
| 15 | ); | ||||||
| 16 | |||||||
| 17 | 1; | ||||||
| 18 | |||||||
| 19 | __END__ |