Exception: MediaTypes::Serialization::ValidatorNotSpecifiedError

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

Instance Method Summary collapse

Constructor Details

#initialize(inout) ⇒ ValidatorNotSpecifiedError

Returns a new instance of ValidatorNotSpecifiedError.



61
62
63
# File 'lib/media_types/serialization/error.rb', line 61

def initialize(inout)
  super("Serializer tried to define an #{inout} without first specifying a validator using either the validator function or unvalidated function. Please call one of those before defining #{inout}s.")
end