API Reference
@univerjs
@univerjs/core
classes
Redierror

@univerjs/core v0.2.14Docs


Class: RediError

Extends

  • Error

Constructors

new RediError()

new RediError(message): RediError

Parameters

ParameterType
messagestring

Returns

RediError

Overrides

Error.constructor

Defined in

submodules/univer/node_modules/.pnpm/@wendellhu+redi@0.16.1/node_modules/@wendellhu/redi/esm/error.d.ts:2

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
cause?publicunknown-Error.causenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
messagepublicstring-Error.messagenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1077
namepublicstring-Error.namenode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack?publicstring-Error.stacknode_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace?static(err: Error, stackTraces: CallSite[]) => anyOptional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces (opens in a new tab)Error.prepareStackTracesubmodules/univer/node_modules/.pnpm/@types+node@22.5.4/node_modules/@types/node/globals.d.ts:143
stackTraceLimitstaticnumber-Error.stackTraceLimitsubmodules/univer/node_modules/.pnpm/@types+node@22.5.4/node_modules/@types/node/globals.d.ts:145

Methods

captureStackTrace()

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

ParameterType
targetObjectobject
constructorOpt?Function

Returns

void

Inherited from

Error.captureStackTrace

Defined in

submodules/univer/node_modules/.pnpm/@types+node@22.5.4/node_modules/@types/node/globals.d.ts:136


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.