File Coverage

blib/lib/SyForm/Exception/UnknownErrorOnResultsBuildView.pm
Criterion Covered Total %
statement 4 7 57.1
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 6 11 54.5


line stmt bran cond sub pod time code
1             package SyForm::Exception::UnknownErrorOnResultsBuildView;
2             BEGIN {
3 1     1   959 $SyForm::Exception::UnknownErrorOnResultsBuildView::AUTHORITY = 'cpan:GETTY';
4             }
5             $SyForm::Exception::UnknownErrorOnResultsBuildView::VERSION = '0.103';
6 1     1   7 use Moo;
  1         2  
  1         5  
7             extends 'SyForm::Exception';
8              
9             with qw(
10             SyForm::Exception::Role::WithSyFormResults
11             SyForm::Exception::Role::WithOriginalError
12             );
13              
14             sub throw_with_args {
15 0     0 0   my ( $class, $results, $original_error ) = @_;
16 0           $class->rethrow_syform_exception($original_error);
17 0           $class->throw($class->error_message_text($original_error).' on build of view',
18             original_error => $original_error,
19             results => $results,
20             );
21             };
22              
23             1;
24              
25             __END__
26              
27             =pod
28              
29             =head1 NAME
30              
31             SyForm::Exception::UnknownErrorOnResultsBuildView
32              
33             =head1 VERSION
34              
35             version 0.103
36              
37             =head1 AUTHOR
38              
39             Torsten Raudssus <torsten@raudss.us>
40              
41             =head1 COPYRIGHT AND LICENSE
42              
43             This software is copyright (c) 2014 by Torsten Raudssus.
44              
45             This is free software; you can redistribute it and/or modify it under
46             the same terms as the Perl 5 programming language system itself.
47              
48             =cut