blib/lib/Moose/Exception/SingleParamsToNewMustBeHashRef.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 4 | 4 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 6 | 6 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Moose::Exception::SingleParamsToNewMustBeHashRef; | ||||||
2 | our $VERSION = '2.2203'; | ||||||
3 | |||||||
4 | 4 | 4 | 2274 | use Moose; | |||
4 | 12 | ||||||
4 | 28 | ||||||
5 | extends 'Moose::Exception'; | ||||||
6 | |||||||
7 | sub _build_message { | ||||||
8 | 7 | 7 | 159 | "Single parameters to new() must be a HASH ref"; | |||
9 | } | ||||||
10 | |||||||
11 | __PACKAGE__->meta->make_immutable; | ||||||
12 | 1; |