@univerjs/core v0.5.0-beta.1 • Docs
Class: CustomCommandExecutionError
Copyright 2023-present DreamNum Inc.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Extends
Error
Constructors
new CustomCommandExecutionError()
new CustomCommandExecutionError(message): CustomCommandExecutionError
Parameters
Parameter | Type |
---|---|
message | string |
Returns
Overrides
Error.constructor
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/common/error.ts:18
Properties
Property | Modifier | Type | Description | Inherited from | Defined in |
---|---|---|---|---|---|
cause? | public | unknown | - | Error.cause | node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24 |
message | public | string | - | Error.message | node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1077 |
name | public | string | - | Error.name | node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1076 |
stack? | public | string | - | Error.stack | node_modules/.pnpm/typescript@5.6.3/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.9.1/node_modules/@types/node/globals.d.ts:143 |
stackTraceLimit | static | number | - | Error.stackTraceLimit | packages/api/tmp/univer-pro/node_modules/.pnpm/@types+node@22.9.1/node_modules/@types/node/globals.d.ts:145 |
Methods
captureStackTrace()
static captureStackTrace(targetObject, constructorOpt?): void
Create .stack property on a target object
Parameters
Parameter | Type |
---|---|
targetObject | object |
constructorOpt ? | Function |
Returns
void
Inherited from
Error.captureStackTrace
Defined in
packages/api/tmp/univer-pro/node_modules/.pnpm/@types+node@22.9.1/node_modules/@types/node/globals.d.ts:136