]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/X.pm
Debugcode.
[kivitendo-erp.git] / SL / X.pm
diff --git a/SL/X.pm b/SL/X.pm
index 8c130c3c9f1c6c26fea323eb207f7faae42748b3..0f206949bb34f03e5f68f08e727985533c105bcd 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;