Add Exception::Interface and Exception::Basic. Make ::Base, ::Go and ::Detach use...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Exception / Interface.pm
diff --git a/lib/Catalyst/Exception/Interface.pm b/lib/Catalyst/Exception/Interface.pm
new file mode 100644 (file)
index 0000000..1bd603a
--- /dev/null
@@ -0,0 +1,8 @@
+package Catalyst::Exception::Interface;
+
+use Moose::Role;
+use namespace::autoclean;
+
+requires qw/as_string throw rethrow/;
+
+1;