Class: UnknownDiagramError β
Defined in: packages/mermaid/src/errors.ts:1
Extends β
Error
Constructors β
new UnknownDiagramError() β
new UnknownDiagramError(
message
):UnknownDiagramError
Defined in: packages/mermaid/src/errors.ts:2
Parameters β
message β
string
Returns β
Overrides β
Error.constructor
Properties β
cause? β
optional
cause:unknown
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from β
Error.cause
message β
message:
string
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from β
Error.message
name β
name:
string
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from β
Error.name
stack? β
optional
stack:string
Defined in: node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from β
Error.stack
prepareStackTrace()? β
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Defined in: node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.d.ts:143
Optional override for formatting stack traces
Parameters β
err β
Error
stackTraces β
CallSite
[]
Returns β
any
See β
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from β
Error.prepareStackTrace
stackTraceLimit β
static
stackTraceLimit:number
Defined in: node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.d.ts:145
Inherited from β
Error.stackTraceLimit
Methods β
captureStackTrace() β
static
captureStackTrace(targetObject
,constructorOpt
?):void
Defined in: node_modules/.pnpm/@types+node@22.13.5/node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
Parameters β
targetObject β
object
constructorOpt? β
Function
Returns β
void
Inherited from β
Error.captureStackTrace