Exception: MediaTypes::Serialization::NoValidatorSetError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::NoValidatorSetError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize ⇒ NoValidatorSetError
constructor
A new instance of NoValidatorSetError.
Constructor Details
#initialize ⇒ NoValidatorSetError
Returns a new instance of NoValidatorSetError.
135 136 137 |
# File 'lib/media_types/serialization/error.rb', line 135 def initialize super("Unable to return validator as no validator has been set. Either someone tried to fetch the currently defined validator or someone tried to set the validator to 'nil'.") end |