line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Atheme::Fault; |
2
|
|
|
|
|
|
|
our $VERSION = '0.0001'; |
3
|
|
|
|
|
|
|
require Exporter; |
4
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
5
|
|
|
|
|
|
|
our @EXPORT = qw(fault_needmoreparams fault_badparams fault_nosuch_source fault_nosuch_target fault_authfail fault_noprivs fault_nosuch_key fault_alreadyexists fault_toomany fault_emailfail fault_notverified fault_nochange fault_already_authed fault_unimplemented ); |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use constant { |
8
|
1
|
|
|
|
|
320
|
fault_needmoreparams => 1, |
9
|
|
|
|
|
|
|
fault_badparams => 2, |
10
|
|
|
|
|
|
|
fault_nosuch_source => 3, |
11
|
|
|
|
|
|
|
fault_nosuch_target => 4, |
12
|
|
|
|
|
|
|
fault_authfail => 5, |
13
|
|
|
|
|
|
|
fault_noprivs => 6, |
14
|
|
|
|
|
|
|
fault_nosuch_key => 7, |
15
|
|
|
|
|
|
|
fault_alreadyexists => 8, |
16
|
|
|
|
|
|
|
fault_toomany => 9, |
17
|
|
|
|
|
|
|
fault_emailfail => 10, |
18
|
|
|
|
|
|
|
fault_notverified => 11, |
19
|
|
|
|
|
|
|
fault_nochange => 12, |
20
|
|
|
|
|
|
|
fault_already_authed => 13, |
21
|
|
|
|
|
|
|
fault_unimplemented => 14, |
22
|
1
|
|
|
1
|
|
6
|
}; |
|
1
|
|
|
|
|
2
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Atheme::Fault - Atheme Fault codes |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 VERSION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
version 0.0001 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 DESCRIPTION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
This class provides fault codes for Atheme |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHORS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Pippijn van Steenhoven |
39
|
|
|
|
|
|
|
Stephan Jauernick |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |