X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6bdcd83826c0cf1d86450bc205c00864d8a0c403..c4a8cd8ca761b16e89fa7ed5616d0e3fd888b82f:/SL/X.pm diff --git a/SL/X.pm b/SL/X.pm index 756793b90..c3533e2ef 100644 --- a/SL/X.pm +++ b/SL/X.pm @@ -22,11 +22,24 @@ use Exception::Class ( 'SL::X::DBRoseError' => { isa => 'SL::X::DBError', fields => [ qw(class metaobject object) ], - defaults => { error_template => [ '\'%s\' in object of type \'%s\' occured', qw(db_error class) ] }, + defaults => { error_template => [ '\'%s\' in object of type \'%s\' occurred', qw(db_error class) ] }, }, 'SL::X::DBUtilsError' => { isa => 'SL::X::DBError', }, + 'SL::X::ZUGFeRDValidation' => { + isa => 'SL::X::Base', + }, + 'SL::X::Inventory' => { + isa => 'SL::X::Base', + fields => [ qw(msg error) ], + defaults => { error_template => [ '%s: %s', qw(msg) ] }, + }, + 'SL::X::Inventory::Allocation' => { + isa => 'SL::X::Base', + fields => [ qw(msg error) ], + defaults => { error_template => [ '%s: %s', qw(msg) ] }, + }, ); 1;