Class: ApiWarnings

ApiWarnings(warnings, …params)

An Error wrapping one or more API warnings.

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.)

Source:

Members

warnings :Array.<Object>

The warning objects from the API.

Type:
  • Array.<Object>
Source: