X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FX.pm;h=c3533e2efb7fe72ba24788517660e701175e402c;hb=dd5cd96c8b0018f73b6b344b6158bf36c9362898;hp=756793b90d6e7cb403f88f43d81651e86f9150d2;hpb=6bab0fff323c36de9e247487f043da1b29dea6fd;p=kivitendo-erp.git 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;