Added an afterValidateError method

It allows custom action overrides to adjust our default validation
error behavior.