line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Git::Raw::Error::Category; |
2
|
|
|
|
|
|
|
$Git::Raw::Error::Category::VERSION = '0.86'; |
3
|
35
|
|
|
35
|
|
247
|
use strict; |
|
35
|
|
|
|
|
68
|
|
|
35
|
|
|
|
|
1035
|
|
4
|
35
|
|
|
35
|
|
176
|
use warnings; |
|
35
|
|
|
|
|
81
|
|
|
35
|
|
|
|
|
994
|
|
5
|
35
|
|
|
35
|
|
203
|
use Carp; |
|
35
|
|
|
|
|
74
|
|
|
35
|
|
|
|
|
5919
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub AUTOLOAD { |
8
|
|
|
|
|
|
|
# This AUTOLOAD is used to 'autoload' constants from the constant() |
9
|
|
|
|
|
|
|
# XS function. |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
6
|
my $constname; |
12
|
2
|
|
|
|
|
4
|
our $AUTOLOAD; |
13
|
2
|
|
|
|
|
16
|
($constname = $AUTOLOAD) =~ s/.*:://; |
14
|
2
|
50
|
|
|
|
12
|
croak "&Git::Raw::Error::Category::constant not defined" if $constname eq '_constant'; |
15
|
2
|
|
|
|
|
13
|
my ($error, $val) = _constant($constname); |
16
|
2
|
50
|
|
|
|
7
|
if ($error) { croak $error; } |
|
0
|
|
|
|
|
0
|
|
17
|
|
|
|
|
|
|
{ |
18
|
35
|
|
|
35
|
|
270
|
no strict 'refs'; |
|
35
|
|
|
|
|
75
|
|
|
35
|
|
|
|
|
2815
|
|
|
2
|
|
|
|
|
5
|
|
19
|
2
|
|
|
3
|
|
16
|
*$AUTOLOAD = sub { $val }; |
|
3
|
|
|
3
|
|
14
|
|
20
|
|
|
|
|
|
|
} |
21
|
2
|
|
|
|
|
10
|
goto &$AUTOLOAD; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
35
|
|
|
35
|
|
229
|
use Git::Raw; |
|
35
|
|
|
|
|
88
|
|
|
35
|
|
|
|
|
1560
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Git::Raw::Error::Category - Error category class |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 VERSION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
version 0.86 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
A L represents an error category or classification. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
B: The API of this module is unstable and may change without warning |
39
|
|
|
|
|
|
|
(any change will be appropriately documented in the changelog). |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 CONSTANTS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 NONE |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 NOMEMORY |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 OS |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 INVALID |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 REFERENCE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 ZLIB |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 REPOSITORY |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 CONFIG |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 REGEX |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 ODB |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 INDEX |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 OBJECT |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 NET |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 TAG |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 TREE |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 INDEXER |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 SSL |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 SUBMODULE |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 THREAD |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 STASH |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head2 CHECKOUT |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=head2 FETCHHEAD |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 MERGE |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 SSH |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 FILTER |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 REVERT |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 CALLBACK |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 CHERRYPICK |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head2 DESCRIBE |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=head2 REBASE |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 FILESYSTEM |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head1 AUTHOR |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Alessandro Ghedini |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
Jacques Germishuys |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
Copyright 2014 Alessandro Ghedini. |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
116
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
117
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=cut |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
1; # End of Git::Raw::Error::Category |