@ai-billing/core / AIBillingError
Class: AIBillingError
Defined in: packages/core/src/error/ai-billing-error.ts:5 Base error type for all ai-billing package errors.Extends
Error
Extended by
Constructors
Constructor
new AIBillingError(Defined in: packages/core/src/error/ai-billing-error.ts:10__namedParameters):AIBillingError
Parameters
__namedParameters
name
string
message
string
cause?
unknown
Returns
AIBillingError
Overrides
Error.constructor
Properties
cause?
Defined in: packages/core/src/error/ai-billing-error.ts:8readonlyoptionalcause?:unknown
Overrides
Error.cause
name
name: string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Error.name
message
message: string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Error.message
stack?
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078optionalstack?:string
Inherited from
Error.stack
Methods
isInstance()
Defined in: packages/core/src/error/ai-billing-error.ts:24staticisInstance(error):error is AIBillingError
Parameters
error
unknown
Returns
error is AIBillingError