ServerErrorBase

ServerErrorBase

Base class for server errors.

Constructor

new ServerErrorBase(originalError, axios)

Wrap a raw axios error.

Source:
Parameters:
Name Type Description
originalError object

Raw axios response.

axios axios

Axios instance used for request.

Members

detail

A human-readable explanation specific to this occurrence of the problem.

Source:

httpStatus

Response HTTP status.

Source:

meta

Error meta.

Source:

title

A short, human-readable summary of the problem.

Source:

Methods

retryRequest()

Retry the failed request. Use it to retry requests after 2FA.

Source: