Exception: MediaTypes::Serialization::SerializersAlreadyFrozenError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::SerializersAlreadyFrozenError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize ⇒ SerializersAlreadyFrozenError
constructor
A new instance of SerializersAlreadyFrozenError.
Constructor Details
#initialize ⇒ SerializersAlreadyFrozenError
Returns a new instance of SerializersAlreadyFrozenError.
165 166 167 |
# File 'lib/media_types/serialization/error.rb', line 165 def initialize super("Unable to add a serializer when they are already frozen. Please make sure to call 'freeze_io!' last.") end |