Debian Codegraph @

modules/scripting/perl/lib/Atheme/Fault.pm

raw
1 package Atheme::Fault;
2
3 use strict;
4 use warnings;
5
6 use constant {
7 needmoreparams => 1,
8 badparams => 2,
9 nosuch_source => 3,
10 nosuch_target => 4,
11 authfail => 5,
12 noprivs => 6,
13 nosuch_key => 7,
14 alreadyexists => 8,
15 toomany => 9,
16 emailfail => 10,
17 notverified => 11,
18 nochange => 12,
19 already_authed => 13,
20 unimplemented => 14,
21 badauthcookie => 15
22 };
23
24 require Exporter;
25 our @ISA = qw/Exporter/;
26
27 our @EXPORT_OK;
28 our %EXPORT_TAGS = ( all => [ qw(
29 needmoreparams badparams nosuch_source nosuch_target authfail noprivs nosuch_key alreadyexists
30 toomany emailfail notverified nochange already_authed unimplemented badauthcookie
31 )]);
32
33 Exporter::export_ok_tags('all');
34
35 1;