Commit | Line | Data |
ede5238f |
1 | package Catalyst::Exception::Interface; |
2 | |
80e287ba |
3 | use MooseX::Role::WithOverloading; |
4 | use namespace::clean -except => 'meta'; |
5 | |
6 | use overload |
7 | q{""} => sub { $_[0]->as_string }, |
8 | fallback => 1; |
ede5238f |
9 | |
10 | requires qw/as_string throw rethrow/; |
11 | |
12 | 1; |