Class: VueFlowError<T, Args> ​
Type parameters ​
Name | Type |
---|---|
T | extends ErrorCode = ErrorCode |
Args | extends ErrorArgs <T > = ErrorArgs <T > |
Hierarchy ​
Error
↳
VueFlowError
Table of contents ​
Constructors ​
Properties ​
Methods ​
Constructors ​
constructor ​
• new VueFlowError<T
, Args
>(code
, ...args
): VueFlowError
<T
, Args
>
Type parameters ​
Name | Type |
---|---|
T | extends ErrorCode = ErrorCode |
Args | extends [] | [id?: string] | [id: null | string] | [id: string, parentId: string] | [type: string] | [id: string] | [id: string] | [id: string, source: string] | [id: string, target: string] | [type: string] | [id: string, source: string, target: string] | [id: string, source: string, target: string] | [id: string] | [id: string] = ErrorArgs <T > |
Parameters ​
Name | Type |
---|---|
code | T |
...args | Args |
Returns ​
VueFlowError
<T
, Args
>
Overrides ​
Error.constructor
Properties ​
args ​
• args: Args
cause ​
• Optional
cause: unknown
Inherited from ​
Error.cause
code ​
• code: T
message ​
• message: string
Inherited from ​
Error.message
name ​
• name: string
= 'VueFlowError'
Overrides ​
Error.name
stack ​
• Optional
stack: string
Inherited from ​
Error.stack
prepareStackTrace ​
â–ª Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Type declaration ​
â–¸ (err
, stackTraces
): any
Optional override for formatting stack traces
Parameters ​
Name | Type |
---|---|
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
Inherited from ​
Error.stackTraceLimit
Methods ​
captureStackTrace ​
â–¸ captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
Parameters ​
Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns ​
void
Inherited from ​
Error.captureStackTrace