RCPPlus/AuthError.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
error
2.0
BEGIN
2.0
CRAP 2.0
1 package Bosch::RCPPlus::AuthError;
2 use strict;
3  
4 sub new
5 {
6 my ($proto, $error) = @_;
7 my $class = ref($proto) || $proto;
8  
9 my $self = {
10 error => $error,
11 };
12  
13 bless ($self, $class);
14 return $self;
15 }
16  
17 sub error
18 {
19 my ($proto) = @_;
20  
21 return $proto->{error}
22 }
23  
24 1;