This content has been marked as final.
Show 2 replies
-
1. Re: About handling validation failure
kcbabo Sep 25, 2013 8:06 PM (in response to ohnishi)You can use a custom context mapper to set the HTTP status code to the value you require. There's not a specific way to distinguish between a validation error and other errors, but you could run a regex on the error message to test for text specific to validation errors.
-
2. Re: About handling validation failure
ohnishi Sep 26, 2013 5:34 AM (in response to kcbabo)Hi Keith, thank you for your reply.
Do you have a plan to support distinguishing between a validation error and other errors in the future?