Huggingface.js documentation

Sınıf: InvalidApiResponseFormatError

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Sınıf: InvalidApiResponseFormatError

Hiyerarşi

  • Error

    ↳ InvalidApiResponseFormatError

Oluşturucular

constructor

• yeni InvalidApiResponseFormatError(message?): InvalidApiResponseFormatError

Parametreler

AdTür
message?string

Dönüş

InvalidApiResponseFormatError

Şuradan devralınır

Error.constructor

Tanımlandığı yer

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

• yeni InvalidApiResponseFormatError(message?, options?): InvalidApiResponseFormatError

Parametreler

AdTür
message?string
options?ErrorOptions

Dönüş

InvalidApiResponseFormatError

Şuradan devralınır

Error.constructor

Tanımlandığı yer

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

Özellikler

neden

• Optional neden: unknown

Şuradan devralınır

Error.cause

Tanımlandığı yer

packages/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

Error.message

Tanımlandığı yer

packages/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

Error.name

Tanımlandığı yer

packages/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

Error.stack

Tanımlandığı yer

packages/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

Error.prepareStackTrace

Tanımlandığı yer

node_modules/.pnpm/@types+node@22.14.1/node_modules/@types/node/globals.d.ts:143


stackTraceLimit

▪ Static stackTraceLimit: number

Şuradan devralınır

Error.stackTraceLimit

Tanımlandığı yer

node_modules/.pnpm/@types+node@22.14.1/node_modules/@types/node/globals.d.ts:145

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

Error.captureStackTrace

Tanımlandığı yer

node_modules/.pnpm/@types+node@22.14.1/node_modules/@types/node/globals.d.ts:136

Update on GitHub