Class: CanceledError
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/error.ts:24
Extends
Error
Constructors
new CanceledError()
new CanceledError(): CanceledError
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/error.ts:25
Returns
Overrides
Error.constructor
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
cause? | public | unknown | - | Error.cause | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es2022.error.d.ts:26 |
message | public | string | - | Error.message | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | public | string | - | Error.name | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | public | string | - | Error.stack | node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1078 |
prepareStackTrace? | static | (err : Error , stackTraces : CallSite []) => any | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces | Error.prepareStackTrace | packages/api/tmp/univer-pro/node_modules/.pnpm/@types+node@22.10.5/node_modules/@types/node/globals.d.ts:143 |
stackTraceLimit | static | number | - | Error.stackTraceLimit | packages/api/tmp/univer-pro/node_modules/.pnpm/@types+node@22.10.5/node_modules/@types/node/globals.d.ts:145 |
Methods
captureStackTrace()
static captureStackTrace(targetObject, constructorOpt?): void
Defined in: packages/api/tmp/univer-pro/node_modules/.pnpm/@types+node@22.10.5/node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters
Parameter | Type |
---|---|
targetObject | object |
constructorOpt ? | Function |
Returns
void
Inherited from
Error.captureStackTrace