BillingApiError
Defined in: src/billing/verify.ts:125
A provider REST call failed (non-2xx or unusable response). Carries the HTTP status.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new BillingApiError( message, status, body?): BillingApiError;Defined in: src/billing/verify.ts:130
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message |
string |
status |
number |
body? |
unknown |
Returns
Section titled “Returns”BillingApiError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
body |
readonly |
unknown |
Parsed response body, when there was one. | src/billing/verify.ts:129 |
status |
readonly |
number |
HTTP status returned by the provider (0 when the response was unusable). |
src/billing/verify.ts:127 |