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<Catalyst> and L<Catalyst::Exception>.