Exception: Grape::Exceptions::UnknownValidator
- Defined in:
- lib/grape/exceptions/unknown_validator.rb
Constant Summary
Constants inherited from Base
Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(validator_type) ⇒ UnknownValidator
constructor
A new instance of UnknownValidator.
Methods inherited from Base
Constructor Details
#initialize(validator_type) ⇒ UnknownValidator
Returns a new instance of UnknownValidator.
6 7 8 |
# File 'lib/grape/exceptions/unknown_validator.rb', line 6 def initialize(validator_type) super(message: (:unknown_validator, validator_type: validator_type)) end |