Exception: MediaTypes::Serialization::ValidatorNotDefinedError

Inherits:
ConfigurationError show all
Defined in:
lib/media_types/serialization/error.rb

Instance Method Summary collapse

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