Huggingface.js documentation

Sınıf: InferenceClientProviderOutputError

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Sınıf: InferenceClientProviderOutputError

Sağlayıcı tarafından döndürülen çıkarım çıktısının geçersiz olması / beklentilerle eşleşmemesi durumunda atılır

Hiyerarşi

Oluşturucular

constructor

• yeni InferenceClientProviderOutputError(message): InferenceClientProviderOutputError

Parametreler

AdTür
messagestring

Dönüş

InferenceClientProviderOutputError

Ezberler

InferenceClientError.constructor

Tanımlandığı yer

inference/src/errors.ts:85

Özellikler

neden

• Optional neden: unknown

Şuradan devralınır

InferenceClientError.cause

Tanımlandığı yer

doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26


message

• message: string

Şuradan devralınır

InferenceClientError.message

Tanımlandığı yer

doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1077


name

• name: string

Şuradan devralınır

InferenceClientError.name

Tanımlandığı yer

doc-internal/node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1076


stack

• Optional yığın: string

Şuradan devralınır

InferenceClientError.stack

Tanımlandığı yer

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

Yığın izlerini biçimlendirme için isteğe bağlı geçersiz kılma

See

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

Tip bildirimi

▸ (err, stackTraces): any

Parametreler
AdTür
errError
stackTracesCallSite[]
Dönüş

any

Şuradan devralınır

InferenceClientError.prepareStackTrace

Tanımlandığı yer

inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:11


stackTraceLimit

▪ Static stackTraceLimit: number

Şuradan devralınır

InferenceClientError.stackTraceLimit

Tanımlandığı yer

inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:13

Yöntemler

captureStackTrace

▸ captureStackTrace(targetObject, constructorOpt?): void

Hedef nesne üzerinde .stack özelliği oluşturun

Parametreler

AdTür
targetObjectobject
constructorOpt?Function

Dönüş

void

Şuradan devralınır

InferenceClientError.captureStackTrace

Tanımlandığı yer

inference/node_modules/.pnpm/@types+node@18.13.0/node_modules/@types/node/globals.d.ts:4

Update on GitHub