Revision 6bdcd838
Von Moritz Bunkus vor etwa 5 Jahren hinzugefügt
SL/DB/Helper/Metadata.pm | ||
---|---|---|
38 | 38 |
# these are used as Rose internal canaries, don't wrap them |
39 | 39 |
die $object->error if UNIVERSAL::isa($object->error, 'Rose::DB::Object::Exception'); |
40 | 40 |
|
41 |
die SL::X::DBRoseError->new(
|
|
42 |
error => $object->error,
|
|
41 |
SL::X::DBRoseError->throw(
|
|
42 |
db_error => $object->error,
|
|
43 | 43 |
class => ref($object), |
44 | 44 |
metaobject => $self, |
45 | 45 |
object => $object, |
Auch abrufbar als: Unified diff
Module: Exception::Lite durch Exception::Class ersetzt