@vttforge/core / VttfError
Class: VttfError ​
VttfError: every error VTTForge throws extends this.
codeis the registry key (string-narrowed).nameis the PascalCase name from the registry; it shows up in stack traces.docsUrlpoints at the docs page.causeuses the native ES2022 mechanism. Multiple causes => pass anAggregateErroras the cause.
Extends ​
Error
Constructors ​
Constructor ​
new VttfError(
code,message?,options?):VttfError
Parameters ​
code ​
`VTTF-${string}`
message? ​
string
options? ​
ErrorOptions
Returns ​
VttfError
Overrides ​
Error.constructor
Properties ​
cause? ​
optionalcause?:unknown
Inherited from ​
Error.cause
code ​
readonlycode:`VTTF-${string}`
docsUrl ​
readonlydocsUrl:string
message ​
message:
string
Inherited from ​
Error.message
name ​
name:
string
Inherited from ​
Error.name
stack? ​
optionalstack?:string
Inherited from ​
Error.stack