X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/37f2ab4d240926b9cb0b09090cff24c5ff63c5fd..d4c5ff04f33e7fe29e079c4489c4126a7ea2493c:/SL/X.pm diff --git a/SL/X.pm b/SL/X.pm index 9343deab0..c3533e2ef 100644 --- a/SL/X.pm +++ b/SL/X.pm @@ -30,6 +30,16 @@ use Exception::Class ( '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;