Skip to content

VTTF-0012: InvalidSocket

NOTE

registerSocket() was called without a package id or kind, with no messages and no requests, with a name that cannot be used, twice for the same channel, or for a package whose manifest does not set "socket": true. Foundry accepts an emit on an undeclared channel and delivers it to nobody.

FieldValue
CodeVTTF-0012
NameInvalidSocket
Package@vttforge/core
Sourcepackages/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.

MIT licensed.