line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package ZMQ::Raw::Error; |
2
|
|
|
|
|
|
|
$ZMQ::Raw::Error::VERSION = '0.39'; |
3
|
14
|
|
|
60
|
|
94
|
use strict; |
|
14
|
|
|
|
|
24
|
|
|
14
|
|
|
|
|
389
|
|
4
|
14
|
|
|
36
|
|
75
|
use warnings; |
|
14
|
|
|
|
|
25
|
|
|
14
|
|
|
|
|
301
|
|
5
|
14
|
|
|
36
|
|
72
|
use Carp; |
|
14
|
|
|
|
|
41
|
|
|
14
|
|
|
|
|
2025
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use overload |
8
|
1
|
|
|
23
|
|
2179
|
'""' => sub { return $_[0] -> message.' at '.$_[0] -> file.' line '.$_[0] -> line }, |
9
|
1
|
|
|
1
|
|
47
|
'0+' => sub { return $_[0] -> code }, |
10
|
1
|
|
|
1
|
|
5
|
'bool' => sub { 1 }, |
11
|
14
|
|
|
36
|
|
17015
|
'fallback' => 1; |
|
14
|
|
|
|
|
15077
|
|
|
14
|
|
|
|
|
279
|
|
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
|
|
132
|
my $constname; |
21
|
23
|
|
|
|
|
28
|
our $AUTOLOAD; |
22
|
23
|
|
|
|
|
145
|
($constname = $AUTOLOAD) =~ s/.*:://; |
23
|
23
|
50
|
|
|
|
71
|
croak "&ZMQ::Raw::Error::_constant not defined" if $constname eq '_constant'; |
24
|
23
|
|
|
|
|
104
|
my ($error, $val) = _constant ($constname); |
25
|
23
|
50
|
|
|
|
49
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
0
|
|
26
|
|
|
|
|
|
|
{ |
27
|
14
|
|
|
36
|
|
2870
|
no strict 'refs'; |
|
14
|
|
|
|
|
36
|
|
|
14
|
|
|
|
|
1121
|
|
|
23
|
|
|
|
|
39
|
|
28
|
23
|
|
|
24
|
|
135
|
*$AUTOLOAD = sub { $val }; |
|
24
|
|
|
|
|
92
|
|
29
|
|
|
|
|
|
|
} |
30
|
23
|
|
|
|
|
94
|
goto &$AUTOLOAD; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
14
|
|
|
36
|
|
87
|
use ZMQ::Raw; |
|
14
|
|
|
|
|
29
|
|
|
14
|
|
|
|
|
544
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
ZMQ::Raw::Error - Error class |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 VERSION |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
version 0.39 |
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 |