]>
Commit | Line | Data |
---|---|---|
1 | package Gruntmaster::Daemon::Constants; | |
2 | ||
3 | use 5.014000; | |
4 | use strict; | |
5 | use warnings; | |
6 | use parent qw/Exporter/; | |
7 | ||
8 | our $VERSION = '0.001'; | |
9 | ||
10 | use constant +{ | |
11 | # Accepted | |
12 | AC => 0, | |
13 | ||
14 | # Internal server error | |
15 | ERR => -1, | |
16 | ||
17 | # All other errors | |
18 | WA => 1, | |
19 | NZX => 2, | |
20 | TLE => 3, | |
21 | OLE => 4, | |
22 | DIED => 5, | |
23 | REJ => 10, | |
24 | }; | |
25 | ||
26 | our @EXPORT_OK = qw/AC ERR WA NZX TLE OLE DIED REJ/; |