Skip to content

basalt / subscriptions/src / GatewayUnsupportedError

Class: GatewayUnsupportedError ​

Defined in: subscriptions/src/subscriptions.ts:66

A billing action needs a gateway (or gateway capability) that isn't configured.

Extends ​

Constructors ​

Constructor ​

> new GatewayUnsupportedError(capability): GatewayUnsupportedError

Defined in: subscriptions/src/subscriptions.ts:68

Parameters ​

capability ​

string

Returns ​

GatewayUnsupportedError

Overrides ​

BasaltError.constructor

Properties ​

code ​

> readonly code: string

Defined in: core/src/errors.ts:25

Inherited from ​

BasaltError.code


details? ​

> readonly optional details?: Record<string, unknown>

Defined in: core/src/errors.ts:28

Structured payload passed to the constructor, exactly as given (never sanitised here).

Inherited from ​

BasaltError.details


status ​

> readonly status: 501 = 501

Defined in: subscriptions/src/subscriptions.ts:67

Released under the MIT License.