| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Closed vocabulary - see docs/adr/0003-error-model.md. | |
| message | String | ||
| request_id | String | UnifAPI request id, e.g. `unif_<id>`. Source ids are not exposed. | [optional] |
| issues | Array<Object> | Present only when type=validation_error. | [optional] |
| billing | ErrorBilling | [optional] |
require 'unifapi'
instance = Unifapi::Error.new(
type: null,
message: null,
request_id: null,
issues: null,
billing: null
)