Revision 6aeb25c5
Von Sven Schöling vor fast 8 Jahren hinzugefügt
SL/X.pm | ||
---|---|---|
5 | 5 |
use Exception::Lite qw(declareExceptionClass); |
6 | 6 |
|
7 | 7 |
declareExceptionClass('SL::X::FormError'); |
8 |
declareExceptionClass('SL::X::DBError' [ '%s', qw(error) ]);
|
|
8 |
declareExceptionClass('SL::X::DBError', [ '%s', qw(error) ]);
|
|
9 | 9 |
declareExceptionClass('SL::X::DBHookError', 'SL::X::DBError', [ '%s hook \'%s\' for object type \'%s\' failed', qw(when hook object_type object) ]); |
10 | 10 |
declareExceptionClass('SL::X::DBRoseError', 'SL::X::DBError', [ '\'%s\' in object of type \'%s\' occured', qw(error class) ]); |
11 | 11 |
declareExceptionClass('SL::X::DBUtilsError', 'SL::X::DBError', [ '%s: %s', qw(msg error) ]); |
Auch abrufbar als: Unified diff
SL::X: und ohne typo