line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ZMQ::Raw::Error; |
2
|
|
|
|
|
|
|
$ZMQ::Raw::Error::VERSION = '0.38'; |
3
|
14
|
|
|
60
|
|
91
|
use strict; |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
400
|
|
4
|
14
|
|
|
36
|
|
68
|
use warnings; |
|
14
|
|
|
|
|
24
|
|
|
14
|
|
|
|
|
312
|
|
5
|
14
|
|
|
36
|
|
74
|
use Carp; |
|
14
|
|
|
|
|
24
|
|
|
14
|
|
|
|
|
2118
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use overload |
8
|
1
|
|
|
23
|
|
1871
|
'""' => sub { return $_[0] -> message.' at '.$_[0] -> file.' line '.$_[0] -> line }, |
9
|
1
|
|
|
1
|
|
48
|
'0+' => sub { return $_[0] -> code }, |
10
|
1
|
|
|
1
|
|
5
|
'bool' => sub { 1 }, |
11
|
14
|
|
|
36
|
|
17432
|
'fallback' => 1; |
|
14
|
|
|
|
|
14145
|
|
|
14
|
|
|
|
|
268
|
|
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
0
|
|
0
|
sub CLONE_SKIP { 1 } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub AUTOLOAD |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
# This AUTOLOAD is used to 'autoload' constants from the constant() |
18
|
|
|
|
|
|
|
# XS function. |
19
|
|
|
|
|
|
|
|
20
|
23
|
|
|
23
|
|
146
|
my $constname; |
21
|
23
|
|
|
|
|
29
|
our $AUTOLOAD; |
22
|
23
|
|
|
|
|
195
|
($constname = $AUTOLOAD) =~ s/.*:://; |
23
|
23
|
50
|
|
|
|
74
|
croak "&ZMQ::Raw::Error::_constant not defined" if $constname eq '_constant'; |
24
|
23
|
|
|
|
|
115
|
my ($error, $val) = _constant ($constname); |
25
|
23
|
50
|
|
|
|
44
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
0
|
|
26
|
|
|
|
|
|
|
{ |
27
|
14
|
|
|
36
|
|
3263
|
no strict 'refs'; |
|
14
|
|
|
|
|
45
|
|
|
14
|
|
|
|
|
1128
|
|
|
23
|
|
|
|
|
38
|
|
28
|
23
|
|
|
24
|
|
139
|
*$AUTOLOAD = sub { $val }; |
|
24
|
|
|
|
|
97
|
|
29
|
|
|
|
|
|
|
} |
30
|
23
|
|
|
|
|
82
|
goto &$AUTOLOAD; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
14
|
|
|
36
|
|
89
|
use ZMQ::Raw; |
|
14
|
|
|
|
|
40
|
|
|
14
|
|
|
|
|
597
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
ZMQ::Raw::Error - Error class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 VERSION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
version 0.38 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 DESCRIPTION |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
A L represents an error. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 METHODS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 message( ) |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Error message. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 file( ) |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Caller file. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 line( ) |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Caller line. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 code( ) |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Error code. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 CONSTANTS |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 ENOTSUP |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 EPROTONOSUPPORT |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 ENOBUFS |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 ENETDOWN |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 EADDRINUSE |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 EADDRNOTAVAIL |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 ECONNREFUSED |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 EINPROGRESS |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 ENOTSOCK |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 EMSGSIZE |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 EAFNOSUPPORT |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 ENETUNREACH |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 ECONNABORTED |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 ECONNRESET |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 ENOTCONN |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 ETIMEDOUT |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 EHOSTUNREACH |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 ENETRESET |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 EFSM |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 ENOCOMPATPROTO |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 ETERM |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head2 EMTHREAD |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 AUTHOR |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Jacques Germishuys |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Copyright 2017 Jacques Germishuys. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
120
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
121
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=cut |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
1; # End of ZMQ::Raw::Error |