X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FException%2FInterface.pm;fp=lib%2FCatalyst%2FException%2FInterface.pm;h=10bfc0fe7dad7d680c0a6837eca759b663fe7108;hb=a62b43cd084495c7d73cd666e51d70598f63f540;hp=65d5a54a75dba838473817aee0fa25562ce240af;hpb=8284c1699eab18fd858600a1f400d49c76ee9f5c;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Exception/Interface.pm b/lib/Catalyst/Exception/Interface.pm index 65d5a54..10bfc0f 100644 --- a/lib/Catalyst/Exception/Interface.pm +++ b/lib/Catalyst/Exception/Interface.pm @@ -22,12 +22,12 @@ Catalyst::Exception::Interface - Exception for redispatching using $ctx->detach( package My::Catalyst::Like::Exception; use Moose; use namespace::clean -except => 'meta'; - + # This comprises the required interface. sub as_string { 'the exception text for stringification' } sub die { shift; die @_ } sub die { shift; die @_ } - + with 'Catalyst::Exception::Interface'; See also L and L.