X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FException%2FInterface.pm;h=aae67f24e33aa12954a9ee37904f296544f0b147;hp=371bfa30de72b83ca16aff4d084ceead3c2db905;hb=9c74923de2304b8c8f0a7a2faa0854ad9b4d3a92;hpb=fb34eb9c063c53abd061d260a30f0ca7c57a0833 diff --git a/lib/Catalyst/Exception/Interface.pm b/lib/Catalyst/Exception/Interface.pm index 371bfa3..aae67f2 100644 --- a/lib/Catalyst/Exception/Interface.pm +++ b/lib/Catalyst/Exception/Interface.pm @@ -27,8 +27,8 @@ Catalyst::Exception::Interface - Role defining the interface for Catalyst except # This comprises the required interface. sub as_string { 'the exception text for stringification' } - sub die { shift; die @_ } - sub die { shift; die @_ } + sub throw { shift; die @_ } + sub rethrow { shift; die @_ } =head1 DESCRIPTION