VTTF-0015: InvalidSubTypeConversion
NOTE
subTypeDocuments() or convertSubTypes() was called without a module id or a bare type key, asked to convert a type into itself, or run where foundry.data.operators.ForcedReplacement does not exist. Foundry refuses a document type change without that operator, and drops the rest of the update with it.
| Field | Value |
|---|---|
| Code | VTTF-0015 |
| Name | InvalidSubTypeConversion |
| Package | @vttforge/core |
| Source | packages/core/src/errors/registry.ts |
This page comes from the registry entry. We are still writing the root causes, common triggers and code samples for each code; the message above is what the runtime throws.
packages/core/scripts/codegen-errors.mjs builds this file from the registry at packages/core/src/errors/registry.ts. Do not edit by hand; re-run pnpm --filter @vttforge/core build after editing the registry.