Constructor
new ApiWarnings(warnings, …params)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
warnings |
Array.<Object> | The warning objects from the API. Must be nonempty; the warning members depend on the errorformat of the request. |
|
params |
* |
<repeatable> |
Any other params for the Error constructor. (Not including the message: the first warning is used for that.) |
Members
warnings :Array.<Object>
The warning objects from the API.
Type:
- Array.<Object>