Constructor
new ApiErrors(errors, …params)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
errors |
Array.<Object> | The error objects from the API. Must be nonempty, and each error must contain at least a code. Other error members depend on the errorformat of the request. |
|
params |
* |
<repeatable> |
Any other params for the Error constructor. (Not including the message: the first error code is used for that.) |
Members
errors :Array.<Object>
The error objects from the API.
Type:
- Array.<Object>