Complete registry of all BusError codes with their metadata.
This is the single source of truth for error documentation.
Example
import { ERROR_CODE_REGISTRY } from'vapor-chamber'; // Lookup an error code constentry = ERROR_CODE_REGISTRY.find(e=>e.code === 'VC_CORE_NO_HANDLER'); console.log(entry?.fix); // "Register a handler with bus.register(action, handler)"
Example
// Generate an LLM system prompt with all error codes constprompt = ERROR_CODE_REGISTRY .map(e=>`${e.code} (${e.severity}): ${e.message} → Fix: ${e.fix}`) .join('\n');
Complete registry of all BusError codes with their metadata. This is the single source of truth for error documentation.