Exception: Typecast::UnprocessableEntityError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/typecast/errors.rb

Instance Attribute Summary

Attributes inherited from ApiError

#detail, #status_code

Instance Method Summary collapse

Constructor Details

#initialize(detail = nil) ⇒ UnprocessableEntityError

Returns a new instance of UnprocessableEntityError.



37
38
39
# File 'lib/typecast/errors.rb', line 37

def initialize(detail = nil)
  super("Unprocessable entity", 422, detail)
end