Exception: MediaTypes::Serialization::SerializersNotFrozenError
- Inherits:
-
ConfigurationError
- Object
- StandardError
- Error
- ConfigurationError
- MediaTypes::Serialization::SerializersNotFrozenError
- Defined in:
- lib/media_types/serialization/error.rb
Instance Method Summary collapse
-
#initialize ⇒ SerializersNotFrozenError
constructor
A new instance of SerializersNotFrozenError.
Constructor Details
#initialize ⇒ SerializersNotFrozenError
Returns a new instance of SerializersNotFrozenError.
159 160 161 |
# File 'lib/media_types/serialization/error.rb', line 159 def initialize super("Unable to serialize or deserialize objects with unfrozen serializers. Please add 'freeze_io!' to the controller definition.") end |