X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FException%2FInterface.pm;h=aae67f24e33aa12954a9ee37904f296544f0b147;hb=81436df99bdb4a0afd7367fb946c5481b483919d;hp=371bfa30de72b83ca16aff4d084ceead3c2db905;hpb=6d2a85aaf2cb4bfb9a5cf80a1c528e2208449985;p=catagits%2FCatalyst-Runtime.git 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