Class: UnavailableError

errors~UnavailableError(requestResult)

new UnavailableError(requestResult)

A HTTP 503 error.

Parameters:
Name Type Description
requestResult RequestResult
Source:

Extends

Members

description :string

Description for this exception.

Type:
  • string
Inherited From:
Source:

message :string

Message for this exception.

Type:
  • string
Inherited From:
Source:

name :string

Name of this exception.

Type:
  • string
Inherited From:
Source:

requestResult :RequestResult

A wrapped RequestResult object, containing the request and response context of the failed request.

Type:
Inherited From:
Source:

Methods

errors() → {Object}

Convenience method to return the errors from the response object.

Inherited From:
Source:
Returns:
Type
Object