Huggingface.js documentation
クラス: InferenceClientRoutingError
クラス: InferenceClientRoutingError
推論関連のすべてのエラーの基底クラス。
階層
-
↳
InferenceClientRoutingError
コンストラクタ
constructor
• new InferenceClientRoutingError(message): InferenceClientRoutingError
パラメータ
| 名前 | 型 |
|---|---|
message | string |
返り値
オーバーライド
InferenceClientError.constructor
定義場所
プロパティ
原因
• Optional cause: unknown
継承元
定義場所
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
メッセージ
• message: string
継承元
InferenceClientError の message
定義場所
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1077
名前
• name: string
継承元
定義場所
doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1076
スタック
• Optional スタック: string
継承元
定義場所
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
スタックトレースのフォーマットをオーバーライドするための任意のオプション
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
型宣言
▸ (err, stackTraces): any
パラメータ
| 名前 | 型 |
|---|---|
err | Error |
stackTraces | CallSite[] |
返り値
any
継承元
InferenceClientError.prepareStackTrace
定義場所
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:11
stackTraceLimit
▪ Static stackTraceLimit: number
継承元
InferenceClientError。stackTraceLimit
定義場所
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:13
メソッド
captureStackTrace
▸ captureStackTrace(targetObject, constructorOpt?): void
ターゲットオブジェクトに.stackプロパティを作成します
パラメータ
| 名前 | 型 |
|---|---|
targetObject | object |
constructorOpt? | Function |
返り値
void
継承元
InferenceClientError。captureStackTrace
定義場所
inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:4
Update on GitHub