SAJAX/Exception/RemoteError.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
stringify
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::SAJAX::Exception::RemoteError;
2  
3 use 5.008003;
4 use strict;
5 use warnings 'all';
6  
7 ###############################################################################
8 # METADATA
9 our $AUTHORITY = 'cpan:DOUGDUDE';
10 our $VERSION = '0.107';
11  
12 ###############################################################################
13 # MOOSE
14 use Moose 0.77;
15 use MooseX::StrictConstructor 0.08;
16  
17 ###############################################################################
18 # BASE CLASS
19 extends q{Net::SAJAX::Exception};
20  
21 ###############################################################################
22 # ALL IMPORTS BEFORE THIS WILL BE ERASED
23 use namespace::clean 0.04 -except => [qw(meta)];
24  
25 ###############################################################################
26 # METHODS
27 sub stringify {
28 my ($self) = @_;
29  
30 # Just prefix the error message
31 return sprintf 'Recieved error message: %s', $self->message;
32 }
33  
34 ###############################################################################
35 # MAKE MOOSE OBJECT IMMUTABLE
36 __PACKAGE__->meta->make_immutable;
37  
38 1;
39  
40 __END__