Skip to content

BillingApiError

Defined in: src/billing/verify.ts:125

A provider REST call failed (non-2xx or unusable response). Carries the HTTP status.

  • Error
new BillingApiError(
message,
status,
body?
): BillingApiError;

Defined in: src/billing/verify.ts:130

Parameter Type
message string
status number
body? unknown

BillingApiError

Error.constructor

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