shipstation-client
Version:
ShipStation V2 SDK
30 lines (22 loc) • 1.07 kB
Markdown
The error structure that gets returned with almost all failed API calls
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**error_source** | [**ErrorSource**](ErrorSource.md) | | [default to undefined]
**error_type** | [**ErrorType**](ErrorType.md) | | [default to undefined]
**error_code** | [**ErrorCode**](ErrorCode.md) | | [default to undefined]
**message** | **string** | An error message associated with the failed API call | [readonly] [default to undefined]
**label_id** | **string** | The label this error is associated with if it is specific to a individual label. | [optional] [readonly] [default to undefined]
```typescript
import { ErrorWithLabelId } from 'shipstation-client';
const instance: ErrorWithLabelId = {
error_source,
error_type,
error_code,
message,
label_id,
};
```
[[Back to Model list]](../README.md