if you loaded L<Catalyst::Plugin::FormValidator::Simple> and fail to validate token, C::P::FormValidator::Simple->set_invalid_form will call automatically in validate_token method (constraint name is 'TOKEN').