Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.08 KB

File metadata and controls

34 lines (22 loc) · 1.08 KB

Error

Properties

Name Type Description Notes
type TypeEnum Closed vocabulary - see docs/adr/0003-error-model.md.
message String
requestId String UnifAPI request id, e.g. `unif_<id>`. Source ids are not exposed. [optional]
issues List<Object> Present only when type=validation_error. [optional]
billing ErrorBilling [optional]

Enum: TypeEnum

Name Value
VALIDATION_ERROR "validation_error"
INVALID_ID "invalid_id"
INSUFFICIENT_CREDITS "insufficient_credits"
UNAUTHORIZED "unauthorized"
NOT_FOUND "not_found"
RATE_LIMITED "rate_limited"
INTERNAL_ERROR "internal_error"
RESPONSE_SHAPE_ERROR "response_shape_error"
UPSTREAM_ERROR "upstream_error"
UPSTREAM_UNAVAILABLE "upstream_unavailable"