Buckets:
Class: InferenceClientError
Base class for all inference-related errors.
Hierarchy
Error↳
InferenceClientError
Constructors
constructor
• new InferenceClientError(message): InferenceClientError
Parameters[[constructor.parameters]]
| Name | Type |
|---|---|
message |
string |
Returns[[constructor.returns]]
Overrides[[constructor.overrides]]
Error.constructor
Defined in[[constructor.defined-in]]
Properties
cause
• Optional cause: unknown
Inherited from[[cause.inherited-from]]
Error.cause
Defined in[[cause.defined-in]]
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
message
• message: string
Inherited from[[message.inherited-from]]
Error.message
Defined in[[message.defined-in]]
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1077
name
• name: string
Inherited from[[name.inherited-from]]
Error.name
Defined in[[name.defined-in]]
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack
• Optional stack: string
Inherited from[[stack.inherited-from]]
Error.stack
Defined in[[stack.defined-in]]
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace
▪ Static Optional prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Type declaration[[preparestacktrace.type-declaration]]
▸ (err, stackTraces): any
Parameters[[preparestacktrace.parameters]]
| Name | Type |
|---|---|
err |
Error |
stackTraces |
CallSite[] |
Returns[[preparestacktrace.returns]]
any
Inherited from[[preparestacktrace.inherited-from]]
Error.prepareStackTrace
Defined in[[preparestacktrace.defined-in]]
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:11
stackTraceLimit
▪ Static stackTraceLimit: number
Inherited from[[stacktracelimit.inherited-from]]
Error.stackTraceLimit
Defined in[[stacktracelimit.defined-in]]
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:13
Methods
captureStackTrace
▸ captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
Parameters[[capturestacktrace.parameters]]
| Name | Type |
|---|---|
targetObject |
object |
constructorOpt? |
Function |
Returns[[capturestacktrace.returns]]
void
Inherited from[[capturestacktrace.inherited-from]]
Error.captureStackTrace
Defined in[[capturestacktrace.defined-in]]
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:4
Xet Storage Details
- Size:
- 3.5 kB
- Xet hash:
- ecdc8604b4790cf0b959955bed331c9eef1546116eea87067a425597da3411a8
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.