Exception: MediaTypes::Serialization::NoValidatorSetError

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

Instance Method Summary collapse

Constructor Details

#initializeNoValidatorSetError

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