Exception: MediaTypes::Serialization::AddedEmptyOutputSerializer

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

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ AddedEmptyOutputSerializer

Returns a new instance of AddedEmptyOutputSerializer.



183
184
185
# File 'lib/media_types/serialization/error.rb', line 183

def initialize(name)
  super("A serializer with name '#{name}' was just added to the controller but it contained no output definitions. Usually this is due to using the wrong view parameter when adding it.")
end