RechargeError

Methods

(inner) Check(response) → {ExternalError|null}

Checks whether the given Rocket in Pocket API response has any errors. If not, returns null, otherwise returns an ExternalError describing the failure.

Parameters:
Name Type Description
response any

Response sent by Rocket in Pocket API

Source:
Returns:
Type
ExternalError | null