line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Mailboxlayer::Error; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
191
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
$Net::Mailboxlayer::Error::VERSION = '0.003'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
0
|
|
|
0
|
1
|
|
my ($class, %props) = @_; |
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
|
|
|
my $self = bless \%props, $class; |
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
|
|
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
0
|
|
|
0
|
1
|
|
sub has_error {return 1} |
17
|
0
|
|
|
0
|
1
|
|
sub success {return $_[0]->{success}} |
18
|
0
|
|
|
0
|
1
|
|
sub type {return $_[0]->{error}->{type}} |
19
|
0
|
|
|
0
|
1
|
|
sub info {return $_[0]->{error}->{info}} |
20
|
0
|
|
|
0
|
1
|
|
sub code {return $_[0]->{error}->{code}} |
21
|
0
|
|
|
0
|
1
|
|
sub response {return $_[0]->{_response}} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |