X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalystX%2FDeclare%2FKeyword%2FAction.pm;h=623e1a6360363bb8cfd1939b95c96ceca7bdfc31;hb=baecccb4a49175c86a77c388b1bf45228db56fc9;hp=bf7655c749f5aae41ff30451a524c267f81cafda;hpb=67f399400dae8248bf3d67c9c07f3c8310512fc2;p=catagits%2FCatalystX-Declare.git diff --git a/lib/CatalystX/Declare/Keyword/Action.pm b/lib/CatalystX/Declare/Keyword/Action.pm index bf7655c..623e1a6 100644 --- a/lib/CatalystX/Declare/Keyword/Action.pm +++ b/lib/CatalystX/Declare/Keyword/Action.pm @@ -544,9 +544,10 @@ an array as a variable: =head2 Validation Currently, when the arguments do not fit the signature because of a L -validation error, the response body will be set to C and the -status to C<400>. This only applies when debug mode is off. If it is turned on, -the error message will be prefixed with C. +validation error, the response body will be set to C and the +status to C<404>. This only applies when debug mode is off. If it is turned on, +the error message will be prefixed with C. The action will +automatically detach after a failed signature validation. =head2 Actions and Method Modifiers