Exception: MediaTypes::Serialization::VersionsNotAnArrayError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::VersionsNotAnArrayError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize ⇒ VersionsNotAnArrayError
constructor
A new instance of VersionsNotAnArrayError.
Constructor Details
#initialize ⇒ VersionsNotAnArrayError
Returns a new instance of VersionsNotAnArrayError.
124 125 126 |
# File 'lib/media_types/serialization/error.rb', line 124 def initialize super('Tried to create an input or output with a versions: parameter that is set to something that is not an array. Please use the version: parameter or conver the current value to an array.') end |