@ai-billing/core / AiBillingDestinationError
Class: AiBillingDestinationError
Defined in: packages/core/src/error/destination-error.ts:10 Error raised when billing data processing fails for a destination.Extends
Constructors
Constructor
new AiBillingDestinationError(Defined in: packages/core/src/error/destination-error.ts:16__namedParameters):AiBillingDestinationError
Parameters
__namedParameters
destinationId?
string
message?
string = ...
cause?
unknown
Returns
AiBillingDestinationError
Overrides
AIBillingError.constructor
Properties
cause?
Defined in: packages/core/src/error/ai-billing-error.ts:8readonlyoptionalcause?:unknown
Inherited from
AIBillingError.cause
destinationId?
Defined in: packages/core/src/error/destination-error.ts:14 The ID of the destination that failed to process billing data.readonlyoptionaldestinationId?:string
name
name: string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
AIBillingError.name
message
message: string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
AIBillingError.message
stack?
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078optionalstack?:string
Inherited from
AIBillingError.stack
Methods
isInstance()
Defined in: packages/core/src/error/destination-error.ts:29staticisInstance(error):error is AiBillingDestinationError
Parameters
error
unknown
Returns
error is AiBillingDestinationError
Overrides
AIBillingError.isInstance