DBHookError Objekte haben jetzt Felder für etwas einfachere Verwendung.
[kivitendo-erp.git] / SL / X.pm
diff --git a/SL/X.pm b/SL/X.pm
index 8c130c3..0f20694 100644 (file)
--- a/SL/X.pm
+++ b/SL/X.pm
@@ -5,6 +5,6 @@ use strict;
 use Exception::Lite qw(declareExceptionClass);
 
 declareExceptionClass('SL::X::FormError');
-declareExceptionClass('SL::X::DBHookError');
+declareExceptionClass('SL::X::DBHookError', [ '%s hook \'%s\' failed', qw(when hook object) ]);
 
 1;