Kind: Function
Source: atloria-monorepo/packages/api-client/src/types/errors.ts
Create appropriate error from HTTP response
Signature
tsfunction createErrorFromResponse(status: number, data: unknown): APIError
Parameters
| Name | Type |
|---|---|
status | number |
data | unknown |
Returns: APIError
Was this page helpful?