Exception: HttpResource::ValidationError
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ApiError
- ClientError
- HttpResource::ValidationError
- Defined in:
- lib/http_resource/errors.rb
Overview
422 — the request was rejected as invalid (the body holds the details). NOT Expected: a non-bang write raises this instead of silently dropping the write, so a sync job surfaces and retries the failure rather than losing data.
Instance Attribute Summary
Attributes inherited from ApiError
Method Summary
Methods inherited from ApiError
#client_error?, for_status, #initialize, #not_found?, #server_error?
Constructor Details
This class inherits a constructor from HttpResource::ApiError