Skip to content

Documentation / core / ClientError

Class: ClientError

Defined in: packages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:78

Extends

Constructors

Constructor

new ClientError(message, ctx, cause?): ClientError

Defined in: packages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:80

Parameters

ParameterType
messagestring
ctxCodecContext
cause?Error

Returns

ClientError

Overrides

OpenAPIError.constructor

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
cause?Error--OpenAPIError.causepackages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:14
kind"client"-OpenAPIError.kind-packages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:79
messagestring--OpenAPIError.messagenode_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
methodstring--OpenAPIError.methodpackages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:12
namestring--OpenAPIError.namenode_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074
operationIdstring--OpenAPIError.operationIdpackages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:11
stack?string--OpenAPIError.stacknode_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
urlstring--OpenAPIError.urlpackages/openapi-transforms/dist/registry-pZTc4A8V.d.ts:13
prepareStackTrace?(err, stackTraces) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces-OpenAPIError.prepareStackTracenode_modules/.pnpm/@types+node@20.0.0/node_modules/@types/node/globals.d.ts:11
stackTraceLimitnumber--OpenAPIError.stackTraceLimitnode_modules/.pnpm/@types+node@20.0.0/node_modules/@types/node/globals.d.ts:13

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Defined in: node_modules/.pnpm/@types+node@20.0.0/node_modules/@types/node/globals.d.ts:4

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

OpenAPIError.captureStackTrace