Skip to content

@vttforge/core / VttfErrorCode

Type Alias: VttfErrorCode ​

VttfErrorCode = `VTTF-${string}`

VTTF-NNNN error registry: append-only, stable across majors.

Every error VTTForge throws has a numeric code (VTTF-NNNN) and a PascalCase name for stack-trace readability. Codes are URLs: https://vttforge.dev/errors/VTTF-0001 eventually links to a docs page generated from this registry.

Never renumber an entry. To deprecate, mark with deprecated: true and add a replacedBy pointer. Adding a new code: pick the next unused integer.

MIT licensed.