Exception: MediaTypes::Serialization::ValidatorNotDefinedError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::ValidatorNotDefinedError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize(identifier, inout) ⇒ ValidatorNotDefinedError
constructor
A new instance of ValidatorNotDefinedError.
Constructor Details
#initialize(identifier, inout) ⇒ ValidatorNotDefinedError
Returns a new instance of ValidatorNotDefinedError.
67 68 69 |
# File 'lib/media_types/serialization/error.rb', line 67 def initialize(identifier, inout) super("Serializer tried to define an #{inout} using the media type identifier #{identifier}, but no validation has been set up for that identifier. Please add it to the validator.") end |