bug fixes after testing
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / EX.pm
index d6a693b..be8ac12 100644 (file)
@@ -9,9 +9,18 @@ use OpenILS::Utils::Fieldmapper;
 # ----------------------------------------------------------------------------------
 
 my %ex_types = (
-       UNKNOWN                         => 1,
-       SEARCH_TOO_LARGE        => 2,
-       UNKNOWN_BARCODE => 3,
+       UNKNOWN                                                                 => 1,
+       SEARCH_TOO_LARGE                                                => 2,
+       UNKNOWN_BARCODE                                         => 3,
+       DUPLICATE_INVALID_USER_BARCODE  => 4,
+       DUPLICATE_USER_USERNAME                         => 5,
+       USER_WRONG_PASSWORD                                     => 6,
+       PERMISSION_DENIED                                               => 7,
+       UNKNOWN_USER                                                    => 8, 
+       MAX_RENEWALS_REACHED                                    => 9,
+       COPY_NEEDED_FOR_HOLD                                    => 10,
+       NO_HOLD_FOUND                                                   => 11,
+       NO_TRANSACTION_FOUND                                    => 12,
 );
 
 use overload ( '""' => sub { $_[0]->ex()->err_msg(); } );