Exception: MediaTypes::Serialization::InputValidationFailedError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/media_types/serialization/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(inner) ⇒ InputValidationFailedError

Returns a new instance of InputValidationFailedError.



26
27
28
29
# File 'lib/media_types/serialization/error.rb', line 26

def initialize(inner)
  @inner = inner
  super(inner.message)
end