Class: VersionError

errors. VersionError

new VersionError(version, spec)

Invalid API version

Parameters:
Name Type Description
version string

Requested API version

spec object.<APISpecification>

API versions specification

Extends

  • module:errors~ClientError

Members

<static> versions :Array.<string>

List of valid versions for the given API

Type:
  • Array.<string>