Class: NoProviderError
Defined in: packages/client/src/errors.ts:11
No provider can serve the request right now. reasons says why, per provider.
Extends
Constructors
Constructor
new NoProviderError(
needs,reasons,choices?):NoProviderError
Defined in: packages/client/src/errors.ts:12
Parameters
needs
reasons
object[]
choices?
string[] = []
Providers that could answer once the visitor picks one instead of their own AI (ai.chooseInstead(id)).
Returns
NoProviderError
Overrides
Properties
cause?
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
choices
readonlychoices:string[] =[]
Defined in: packages/client/src/errors.ts:16
Providers that could answer once the visitor picks one instead of their own AI (ai.chooseInstead(id)).
message
message:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
name
name:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
needs
readonlyneeds:Capability[]
Defined in: packages/client/src/errors.ts:13
reasons
readonlyreasons:object[]
Defined in: packages/client/src/errors.ts:14
id
id:
string
label
label:
string
reason
reason:
string
state
state:
ProviderState
stack?
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Accessors
actionable
Get Signature
get actionable():
string|undefined
Defined in: packages/client/src/errors.ts:27
A provider that would work after connect() (a click), if any.
Returns
string | undefined