Updated Catalyst::Request and Catalyst::Response to have sensible defaults for attributes
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Exception.pm
index 02610a4..deeb3c0 100644 (file)
@@ -60,6 +60,8 @@ it under the same terms as Perl itself.
 
 =cut
 
+Catalyst::Exception::Base->meta->make_immutable;
+
 package Catalyst::Exception;
 
 use Moose;
@@ -69,4 +71,7 @@ BEGIN {
     extends($CATALYST_EXCEPTION_CLASS || 'Catalyst::Exception::Base');
 }
 
+no Moose;
+__PACKAGE__->meta->make_immutable;
+
 1;