Reword error message for consistency
Dagfinn Ilmari Mannsåker [Mon, 13 May 2013 20:36:29 +0000 (21:36 +0100)]
lib/Catalyst/DispatchType/Chained.pm

index 504c717..615f5aa 100644 (file)
@@ -361,7 +361,8 @@ sub register {
 
     if (exists $action->attributes->{Args} and exists $action->attributes->{CaptureArgs}) {
         Catalyst::Exception->throw(
-          "Combining Args and CaptureArgs not allowed registering " . $action->reverse()
+          "Combining Args and CaptureArgs attributes not supported registering " .
+          $action->reverse()
         );
     }