File Coverage

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