blib/lib/Catalyst/ActionRole/RenderView/Utils/NoView.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 5 | 60.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 3 | 33.3 |
pod | 0 | 2 | 0.0 |
total | 4 | 10 | 40.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Catalyst::ActionRole::RenderView::Utils::NoView; | ||||||
2 | |||||||
3 | 1 | 1 | 8 | use Moose; | |||
1 | 5 | ||||||
1 | 10 | ||||||
4 | with 'CatalystX::Utils::DoesHttpException'; | ||||||
5 | |||||||
6 | 0 | 0 | 0 | sub status_code { 500 } | |||
7 | 0 | 0 | 0 | sub error { "No View can be found to render." } | |||
8 | |||||||
9 | __PACKAGE__->meta->make_immutable; |