Exception: MediaTypes::Serialization::ValidatorNotSpecifiedError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::ValidatorNotSpecifiedError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize(inout) ⇒ ValidatorNotSpecifiedError
constructor
A new instance of ValidatorNotSpecifiedError.
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 |