Module: RequestParamsValidation::ExceptionsConfiguration

Defined in:
lib/request_params_validation.rb

Overview

Exceptions configuration go here. You can set your own exception class for each type of error. Having full control of the exception raised and the message of it.

Notice that all default exceptions have getters for accesing data related to the failure. You can also set custom messages details for the validations. See the documentation for further details.

Note that the classes set here should be in Rails autoload_paths or you would need to

require it or autoload it before setting it