Exception: Typecast::UnprocessableEntityError
- Defined in:
- lib/typecast/errors.rb
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(detail = nil) ⇒ UnprocessableEntityError
constructor
A new instance of UnprocessableEntityError.
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 |