]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Constants.pm
changed error code constant, and related test
[maypole.git] / lib / Maypole / Constants.pm
index 09e7d4b3fa1f1fcc1a91b1c94d61a4e9a92a245f..cee418f6ba583a3f2eab545514ec97af6b40dc58 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use base 'Exporter';
 use constant OK       => 0;
 use constant DECLINED => -1;
-use constant ERROR    => -1;
+use constant ERROR    => 500;
 our @EXPORT = qw(OK DECLINED ERROR);
 our $VERSION = "1." . sprintf "%04d", q$Rev$ =~ /: (\d+)/;