Add exception classes for the redispatching exceptions.
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Exception / Detach.pm
diff --git a/lib/Catalyst/Exception/Detach.pm b/lib/Catalyst/Exception/Detach.pm
new file mode 100644 (file)
index 0000000..93331c6
--- /dev/null
@@ -0,0 +1,14 @@
+package Catalyst::Exception::Detach;
+
+use Moose;
+use namespace::clean -except => 'meta';
+
+extends 'Catalyst::Exception';
+
+has '+message' => (
+    default => "catalyst_detach\n",
+);
+
+__PACKAGE__->meta->make_immutable;
+
+1;