Exception: MediaTypes::Serialization::SerializersNotFrozenError

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

Instance Method Summary collapse

Constructor Details

#initializeSerializersNotFrozenError

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