projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
exception rethrow method from LTJake
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Exception.pm
diff --git
a/lib/DBIx/Class/Exception.pm
b/lib/DBIx/Class/Exception.pm
index
83e0255
..
77a3a96
100644
(file)
--- a/
lib/DBIx/Class/Exception.pm
+++ b/
lib/DBIx/Class/Exception.pm
@@
-68,6
+68,17
@@
sub throw {
die $self;
}
+=head2 rethrow
+
+This method provides some syntactic sugar in order to
+re-throw exceptions.
+
+=cut
+
+sub rethrow {
+ die shift;
+}
+
=head1 AUTHORS
Brandon L. Black <blblack@gmail.com>