{
  "schema": 1,
  "note": "The durable error-code table for the schema-1 envelope. Codes may be added, never renamed, with one exception: the release that introduced the W_ prefix moved thirty warnings from an E_ name to the W_ name with the same stem. Five of them are CDP faults a session carries on past, so the exception also covers the cdpFaultCode value in ready.json, a contract field whose values were renamed with them. A code retired after it shipped keeps a 'folded' row naming the code the same path reports now. A folded row is a record for a reader of this table: nothing at run time reads it, no envelope carries a folded name and no alias exists, so a consumer that matches a folded name has to switch to the code the row names. A W_ code is a warning: the run carried on past it. An E_ code is a failure. A class that can do both has one row under each prefix with the same stem. Eleven of the thirty E_ names that moved never marked a failure, and each has a 'folded' row naming its W_ name. One code per operator-distinguishable failure family. The envelope's command field carries the which-command context. 'folded' records finer inventory names that map onto a shipped family code. 'legacy' maps the three pre-envelope conventions (snake_case ready.json codes, PascalCase error names, kebab-case doctor check ids) onto the table. A ready.json id that lists several codes resolves to the first unless the contract's browserLaunchFailedCode names another from the list. A row marked 'reserved' names a failure the CLI does not report under that code today, so no envelope carries it yet and a consumer need not handle it. Its 'reason' says what keeps it reserved.",
  "codes": {
    "E_ARGS": {
      "area": "usage",
      "summary": "A required argument is missing or the invocation is malformed."
    },
    "E_INVALID_OPTION": {
      "area": "usage",
      "summary": "A flag or argument value is not in the accepted set."
    },
    "E_FLAG_VALUE_INVALID": {
      "area": "usage",
      "summary": "A flag value failed validation."
    },
    "E_FLAG_NOT_SUPPORTED_HERE": {
      "area": "usage",
      "summary": "The flag exists but does not apply to this command or target."
    },
    "E_REMOVED_FLAG": {
      "area": "usage",
      "summary": "The flag was removed from the CLI."
    },
    "E_UNKNOWN_COMMAND": {
      "area": "usage",
      "summary": "No subcommand matches the given name."
    },
    "E_NODE_VERSION": {
      "area": "usage",
      "summary": "The running Node version is below the supported minimum."
    },
    "E_COMMAND_UNSUPPORTED_FOR_TARGET": {
      "area": "usage",
      "summary": "The command does not support the requested browser target."
    },
    "E_UNSUPPORTED_BROWSER": {
      "area": "usage",
      "summary": "The requested vendor is not in the supported browser list."
    },
    "E_BROWSER_NOT_INSTALLABLE": {
      "area": "usage",
      "summary": "The browser is a known target but has no managed download; the CLI cannot fetch it."
    },
    "E_PARENT_GONE": {
      "area": "usage",
      "summary": "The --parent-pid owner died, so the dev server self-terminated."
    },
    "E_REMOTE_URL_UNSUPPORTED": {
      "area": "usage",
      "summary": "The operation does not accept a remote URL."
    },
    "E_PROJECT_NOT_FOUND": {
      "area": "project",
      "summary": "The resolved project folder does not exist."
    },
    "E_CONFIG_LOAD": {
      "area": "project",
      "summary": "extension.config.js threw while loading or did not export an object."
    },
    "E_PACKAGE_JSON_INVALID": {
      "area": "project",
      "summary": "The project's package.json is not a file, cannot be opened, is not parseable JSON, opens with a byte order mark, or is saved as UTF-16."
    },
    "E_DEPENDENCY_INSTALL": {
      "area": "project",
      "summary": "Installing project dependencies failed."
    },
    "E_OPTIONAL_DEP_UNRESOLVED": {
      "area": "project",
      "summary": "An optional dependency contract could not be resolved."
    },
    "E_OPTIONAL_DEP_LOAD": {
      "area": "project",
      "summary": "An optional dependency resolved but failed to load."
    },
    "E_OPTIONAL_DEP_UNKNOWN": {
      "area": "project",
      "summary": "Unknown optional-dependency contract id."
    },
    "E_COMPANION_EXTENSION_PATH": {
      "area": "project",
      "summary": "A companion extension entry is refused: it leads outside the project, it is neither a store link nor a folder path, or the only manifest at the resolved root belongs to a companion under extensions/."
    },
    "E_MANIFEST_IN_PUBLIC": {
      "area": "project",
      "summary": "manifest.json was placed under public/."
    },
    "E_FOLDER_UNREADABLE": {
      "area": "project",
      "summary": "A folder inside pages/ or scripts/ cannot be read, so the build cannot list its entries."
    },
    "E_RUNTIME_NOT_FOUND": {
      "area": "project",
      "summary": "The extension-develop runtime is missing, uncompiled, at another version than the CLI, or throws while it loads, as when its native binding was left out of the install."
    },
    "E_MANIFEST_NOT_FOUND": {
      "area": "manifest",
      "summary": "No manifest.json at the resolved root."
    },
    "E_MANIFEST_INVALID": {
      "area": "manifest",
      "summary": "The manifest is not parseable JSON or not a WebExtension manifest."
    },
    "E_FIRST_COMPILE": {
      "area": "compile",
      "summary": "The first compile of a session failed, so nothing was loaded."
    },
    "E_COMPILE": {
      "area": "compile",
      "summary": "A compile finished with errors."
    },
    "E_COMPILE_FATAL": {
      "area": "compile",
      "summary": "The compiler itself failed or returned unusable stats."
    },
    "E_MODULE_NOT_FOUND": {
      "area": "compile",
      "summary": "A module specifier could not be resolved."
    },
    "E_ENTRY_NOT_FOUND": {
      "area": "compile",
      "summary": "A manifest, HTML, or JSON entry points at a file that is missing or not bundled."
    },
    "E_ASSET_MISSING": {
      "area": "compile",
      "summary": "An icon, static asset, or JSON dependency is missing or not bundled."
    },
    "E_SCRIPT_DEP_MISSING": {
      "area": "compile",
      "summary": "A file a script loads at runtime is missing from the build, is named by its source spelling, or could not be compiled."
    },
    "E_RESERVED_FOLDER": {
      "area": "compile",
      "summary": "A reserved scripts/ folder shape was violated."
    },
    "E_CSS_PARSE": {
      "area": "compile",
      "summary": "A stylesheet failed to parse."
    },
    "E_CSS_PREPROCESSOR_MISSING": {
      "area": "compile",
      "summary": "A CSS preprocessor is requested but not resolvable."
    },
    "E_CSS_DEAD_REF": {
      "area": "compile",
      "summary": "A CSS url() or @import names a file that is missing or not bundled."
    },
    "E_LOCALES_LAYOUT": {
      "area": "compile",
      "summary": "_locales layout or messages.json is invalid."
    },
    "E_WAR_INVALID": {
      "area": "compile",
      "summary": "web_accessible_resources shape or match pattern rejected."
    },
    "E_THEME_INVALID": {
      "area": "compile",
      "summary": "A theme color or tint is not a number array a Chromium browser loads, and the build cannot translate it exactly."
    },
    "E_DEV_SESSION_DIST_SHARED": {
      "area": "compile",
      "summary": "A build would write the dist folder a running dev session serves, so it was refused; pass --out-dir to build beside it."
    },
    "E_BACKGROUND_REQUIRED": {
      "area": "compile",
      "summary": "The reload runtime needs a background chunk that is absent.",
      "reserved": true,
      "reason": "A missing background script is reported by the scripts feature as E_ENTRY_NOT_FOUND in every mode, so the reload pipeline raises this code nowhere."
    },
    "E_CONTENT_SCRIPT_SYNTAX": {
      "area": "compile",
      "summary": "A content script failed to parse."
    },
    "E_PERF_BUDGET": {
      "area": "compile",
      "summary": "An asset exceeds its size budget, and the project asked for that to fail the build. It is the same overrun W_PERF_BUDGET warns of, made strict."
    },
    "E_ZIP_SKIPPED": {
      "area": "compile",
      "summary": "A requested archive was not created."
    },
    "E_REMOTE_FETCH_TIMEOUT": {
      "area": "remote",
      "summary": "A remote fetch exceeded its timeout."
    },
    "E_REMOTE_DOWNLOAD": {
      "area": "remote",
      "summary": "A remote extension could not be downloaded or written to disk."
    },
    "E_REMOTE_ACCESS_DENIED": {
      "area": "remote",
      "summary": "The server refused access to the remote URL with a 401 or 403, so its access token has expired, was revoked, or was changed while copying."
    },
    "E_REMOTE_ZIP_INVALID": {
      "area": "remote",
      "summary": "The remote URL did not return a ZIP, returned a damaged one that will not unpack, or one with an entry outside its folder."
    },
    "E_LOCAL_ZIP_NOT_FOUND": {
      "area": "remote",
      "summary": "A referenced local zip is missing or not a zip."
    },
    "E_PROJECT_DOWNLOAD_EMPTY": {
      "area": "remote",
      "summary": "Download succeeded but the extracted folder is absent."
    },
    "E_NETWORK": {
      "area": "remote",
      "summary": "A network request failed or timed out."
    },
    "E_BROWSER_NOT_FOUND": {
      "area": "browser-binary",
      "summary": "No installed binary for the requested vendor."
    },
    "E_BROWSER_BINARY_REQUIRED": {
      "area": "browser-binary",
      "summary": "A -based target needs an explicit binary path."
    },
    "E_BROWSER_BINARY_INVALID": {
      "area": "browser-binary",
      "summary": "The given binary path does not exist, is not executable, or does not answer its version probe within 10 seconds."
    },
    "E_BROWSER_LAUNCH": {
      "area": "browser-binary",
      "summary": "The browser process failed to spawn or died at startup."
    },
    "E_BROWSER_EXITED": {
      "area": "browser-binary",
      "summary": "The launched browser exited while the server kept running."
    },
    "E_BROWSER_START_TIMEOUT": {
      "area": "browser-binary",
      "summary": "The browser accepted the debug socket but never sent its greeting."
    },
    "E_PROFILE_LOCKED": {
      "area": "browser-binary",
      "summary": "The profile directory is held by another browser process."
    },
    "E_INSTANCE_AMBIGUOUS": {
      "area": "browser-binary",
      "summary": "More than one live instance matches the requested id."
    },
    "E_BROWSER_DOWNLOAD": {
      "area": "browser-binary",
      "summary": "Downloading or installing a browser failed."
    },
    "E_BROWSER_INSTALL_PRIVILEGE": {
      "area": "browser-binary",
      "summary": "The install needs an interactive privileged session."
    },
    "E_BROWSER_UNINSTALL": {
      "area": "browser-binary",
      "summary": "Removing an installed browser failed."
    },
    "E_BROWSER_INSTALL_TIMEOUT": {
      "area": "browser-binary",
      "summary": "The browser installer was still running at the install timeout and was stopped."
    },
    "E_BROWSER_INSTALL_BUSY": {
      "area": "browser-binary",
      "summary": "Another install of the same browser was still running after the whole wait, so this one never started."
    },
    "E_BROWSER_CACHE_NOT_WRITABLE": {
      "area": "browser-binary",
      "summary": "The browser cache root is a file, cannot be created or cannot be written to."
    },
    "E_BROWSER_FOLDER_FOREIGN": {
      "area": "browser-binary",
      "summary": "The browser folder in the cache holds files the installers never write, so the install left it untouched."
    },
    "E_BROWSER_INSTALLER_NOT_FOUND": {
      "area": "browser-binary",
      "summary": "The package runner that installs the browser is not on this machine."
    },
    "E_EXTENSION_LOAD_REFUSED": {
      "area": "browser-runtime",
      "summary": "The browser refused the unpacked extension."
    },
    "E_ADDON_INSTALL": {
      "area": "browser-runtime",
      "summary": "Gecko temporary add-on install failed."
    },
    "E_BROWSER_CONNECT": {
      "area": "debug-protocol",
      "summary": "The debug connection could not be opened."
    },
    "E_BROWSER_CONNECTION_CLOSED": {
      "area": "debug-protocol",
      "summary": "The debug socket closed mid-session."
    },
    "E_CDP_NOT_CONNECTED": {
      "area": "debug-protocol",
      "summary": "An operation was issued with no live CDP transport."
    },
    "E_CDP_TIMEOUT": {
      "area": "debug-protocol",
      "summary": "A CDP command or load event timed out."
    },
    "E_CDP_OP_FAILED": {
      "area": "debug-protocol",
      "summary": "An extension operation over CDP failed."
    },
    "E_EXTENSION_ID_UNKNOWN": {
      "area": "debug-protocol",
      "summary": "The extension id could not be determined over CDP."
    },
    "E_RDP_PROTOCOL": {
      "area": "debug-protocol",
      "summary": "A malformed or unexpected RDP exchange."
    },
    "E_DEV_SERVER_START": {
      "area": "dev-server",
      "summary": "The dev server failed to start."
    },
    "E_PORT_UNAVAILABLE": {
      "area": "dev-server",
      "summary": "No free port could be bound near the requested one: the dev server port, or the browser debugging port a launch claims."
    },
    "E_SESSION_NOT_FOUND": {
      "area": "ready",
      "summary": "No live session contract for this project and browser."
    },
    "E_SESSION_STOPPED": {
      "area": "ready",
      "summary": "The session contract reports a stopped session."
    },
    "E_SESSION_EXISTS": {
      "area": "dev-server",
      "summary": "A live dev session already owns this project and browser, so the new session was refused."
    },
    "E_SHUTDOWN_TIMEOUT": {
      "area": "dev-server",
      "summary": "The dev session did not stop within its shutdown bound, so the process ended anyway with exit code 1."
    },
    "E_READY_TIMEOUT": {
      "area": "ready",
      "summary": "--wait expired before the session became ready."
    },
    "E_READY_ERROR_STATUS": {
      "area": "ready",
      "summary": "The ready contract reports an error for this session."
    },
    "E_CONTROL_UNAVAILABLE": {
      "area": "control",
      "summary": "The control channel is absent, mismatched, or not answering."
    },
    "E_CONTROL_DENIED": {
      "area": "control",
      "summary": "The session refused the control operation."
    },
    "E_TOKEN_MISSING": {
      "area": "control",
      "summary": "The operation needs a session token that is not present."
    },
    "E_EVAL_REFUSED": {
      "area": "control",
      "summary": "Eval is disabled for the session or the token does not match."
    },
    "E_CSP_BLOCKS_EVAL": {
      "area": "control",
      "summary": "A content security policy forbids eval in the target, the extension's own for its documents and its content-script world or the page's own for a web page, so the in-page executor runs no expression there."
    },
    "E_TIMEOUT": {
      "area": "control",
      "summary": "The operation did not answer inside its timeout."
    },
    "E_NOT_IMPLEMENTED": {
      "area": "control",
      "summary": "The operation is not implemented for this context or engine."
    },
    "E_TARGET_NOT_FOUND": {
      "area": "control",
      "summary": "No tab, frame, or context matched the requested target."
    },
    "E_HEADED_WINDOW_REQUIRED": {
      "area": "control",
      "summary": "The surface needs a headed browser window this session does not have."
    },
    "E_USER_GESTURE_REQUIRED": {
      "area": "control",
      "summary": "The surface needs a real user gesture the caller cannot synthesize."
    },
    "E_EVAL": {
      "area": "control",
      "summary": "The evaluated expression threw inside the page, whatever the class of the error it threw."
    },
    "E_INSPECT": {
      "area": "control",
      "summary": "DOM inspection failed inside the guest."
    },
    "E_STORAGE": {
      "area": "control",
      "summary": "chrome.storage rejected the read or write."
    },
    "E_LOGS_NOT_FOUND": {
      "area": "logs",
      "summary": "No logs stream for this project and browser."
    },
    "E_TEMPLATE_NOT_FOUND": {
      "area": "create",
      "summary": "The template is not in the catalog or has no manifest."
    },
    "E_DESTINATION_NOT_EMPTY": {
      "area": "create",
      "summary": "The destination already holds conflicting files."
    },
    "E_DESTINATION_NOT_WRITABLE": {
      "area": "create",
      "summary": "The destination directory, or a file the scaffold writes in it, is not writable."
    },
    "E_OUTPUT_NOT_WRITABLE": {
      "area": "compile",
      "summary": "The build could not write into the output folder: the folder is not writable, or manifest.json could not be written into it."
    },
    "E_PREVIEW_NO_DIST": {
      "area": "preview",
      "summary": "No unpacked extension at the resolved output path."
    },
    "E_SAFARI_TOOLCHAIN": {
      "area": "safari",
      "summary": "The Safari toolchain is unavailable or an invocation failed."
    },
    "E_SAFARI_UI": {
      "area": "safari",
      "summary": "A read or action on Safari's own settings or toolbar failed."
    },
    "E_ACCESSIBILITY_DENIED": {
      "area": "safari",
      "summary": "macOS has not granted the host app Accessibility, so Safari's own UI can't be read or driven."
    },
    "E_PUBLISH_REJECTED": {
      "area": "publish",
      "summary": "The platform rejected the upload."
    },
    "E_AUTH_REQUIRED": {
      "area": "publish",
      "summary": "The operation needs an auth token that is not present."
    },
    "E_TELEMETRY_WRITE": {
      "area": "telemetry",
      "summary": "A telemetry file could not be written or removed."
    },
    "E_DOCTOR_CHECKS_FAILED": {
      "area": "doctor",
      "summary": "One or more doctor checks reported fail."
    },
    "E_INTERRUPTED": {
      "area": "internal",
      "summary": "The operation was interrupted before it finished."
    },
    "E_INTERNAL": {
      "area": "internal",
      "summary": "An unexpected fault reached the top-level sink."
    },
    "E_RESTART_REQUIRED": {
      "area": "dev-server",
      "summary": "A file the running dev session depends on was removed or changed in a way it cannot apply, so the session must be restarted."
    },
    "E_JSON_INVALID": {
      "area": "compile",
      "summary": "A JSON file the manifest names does not parse, or its declarativeNetRequest ruleset or managed storage schema has a shape the browser rejects."
    },
    "E_PROJECT_LAYOUT": {
      "area": "project",
      "summary": "A file in public/ would overwrite a file the build emits, or an include entry in extension.config.js names a missing file or an output path outside the extension."
    },
    "E_ASSET_IMPORT_SHAPE": {
      "area": "compile",
      "summary": "An asset imported with import * as is read as the file's value, which is the default export."
    },
    "E_ENV_FILE_UNREADABLE": {
      "area": "project",
      "summary": "A .env file the build has to read for its browser and mode is a folder or cannot be read."
    },
    "E_INLINE_SCRIPT_SYNTAX": {
      "area": "compile",
      "summary": "An inline script of an HTML file no longer parses once an unquoted placeholder is filled with its env value."
    },
    "W_MANAGED_DEP_CONFLICT": {
      "area": "project",
      "summary": "The project declares a package the toolchain manages.",
      "warn": true
    },
    "W_TYPES_EMIT": {
      "area": "project",
      "summary": "Writing extension-env.d.ts failed.",
      "warn": true
    },
    "W_MODULE_NOT_FOUND": {
      "area": "compile",
      "summary": "A module specifier could not be resolved, and the build carried on without it.",
      "warn": true
    },
    "W_ENTRY_NOT_FOUND": {
      "area": "compile",
      "summary": "A manifest, HTML, or JSON entry points at a file that is missing or not bundled.",
      "warn": true
    },
    "W_ASSET_MISSING": {
      "area": "compile",
      "summary": "An icon, static asset, or JSON dependency is missing or not bundled.",
      "warn": true
    },
    "W_SCRIPT_DEP_MISSING": {
      "area": "compile",
      "summary": "A file a script loads at runtime is missing from the build, is named by its source spelling, or could not be compiled.",
      "warn": true
    },
    "W_CSS_PARSE": {
      "area": "compile",
      "summary": "A stylesheet failed to parse.",
      "warn": true
    },
    "W_CSS_PREPROCESSOR_MISSING": {
      "area": "compile",
      "summary": "A CSS preprocessor is requested but not resolvable.",
      "warn": true
    },
    "W_CSS_DEAD_REF": {
      "area": "compile",
      "summary": "A CSS url() or @import names a file that is missing or not bundled.",
      "warn": true
    },
    "W_POLYFILL_NOT_FOUND": {
      "area": "compile",
      "summary": "webextension-polyfill requested but absent.",
      "warn": true
    },
    "W_LOCALES_LAYOUT": {
      "area": "compile",
      "summary": "_locales layout or messages.json is invalid.",
      "warn": true
    },
    "W_PROD_LOOPBACK_ORIGIN": {
      "area": "compile",
      "summary": "A production manifest names a loopback origin (localhost, 127.0.0.0/8, [::1] or 0.0.0.0), which store reviewers read as unexplained host access.",
      "warn": true
    },
    "W_NO_ENTRYPOINTS": {
      "area": "compile",
      "summary": "The compilation produced zero entrypoints.",
      "warn": true
    },
    "W_REMOTE_RESOURCE_BLOCKED": {
      "area": "compile",
      "summary": "A remote script or stylesheet is blocked by extension CSP.",
      "warn": true
    },
    "W_PERF_BUDGET": {
      "area": "compile",
      "summary": "An asset exceeds its size budget.",
      "warn": true
    },
    "W_ENV_NO_MATCH": {
      "area": "compile",
      "summary": "No .env file matched the mode.",
      "warn": true
    },
    "W_LAUNCH_SKIPPED_COMPILE_ERRORS": {
      "area": "browser-binary",
      "summary": "Launch was withheld because the compile failed.",
      "warn": true
    },
    "W_UNINSTALL_NOOP": {
      "area": "browser-binary",
      "summary": "Nothing to remove.",
      "warn": true
    },
    "W_PORT_IN_USE": {
      "area": "dev-server",
      "summary": "The requested port was taken and auto-reassigned.",
      "warn": true
    },
    "W_LOGS_STREAM_GAP": {
      "area": "logs",
      "summary": "The follow stream dropped events.",
      "warn": true
    },
    "W_MANIFEST_INVALID": {
      "area": "manifest",
      "summary": "A manifest field had a shape the browser refuses to load, and the build repaired or dropped it.",
      "warn": true
    },
    "W_WAR_INVALID": {
      "area": "compile",
      "summary": "A web_accessible_resources pattern leaves the extension root, so it exposes no file.",
      "warn": true
    },
    "W_RESERVED_FOLDER": {
      "area": "compile",
      "summary": "A file in scripts/ is only imported by another file, and every file in that folder is built as an entry of its own.",
      "warn": true
    },
    "W_INTERNAL": {
      "area": "internal",
      "summary": "A build step met output it did not expect and carried on. The toolchain needs an update.",
      "warn": true
    },
    "W_RESTART_REQUIRED": {
      "area": "dev-server",
      "summary": "A file the running dev session reads only at startup changed, so the change applies after a restart.",
      "warn": true
    },
    "W_JSON_INVALID": {
      "area": "compile",
      "summary": "A declarativeNetRequest ruleset parses but has a rule that may not behave as written, or one that Chrome refuses and Firefox loads.",
      "warn": true
    },
    "W_PROJECT_LAYOUT": {
      "area": "project",
      "summary": "A public/ folder is misplaced, shadowed by another one or spelled in another letter case, a public/ file is not copied because the build writes that output path from an entry, or an exclude entry in extension.config.js names a file that is not there.",
      "warn": true
    },
    "W_MANIFEST_COMPAT": {
      "area": "manifest",
      "summary": "The manifest uses a version, key, permission item or host permission pattern that the target browser ignores or is phasing out.",
      "warn": true
    },
    "W_STORE_READINESS": {
      "area": "manifest",
      "summary": "The manifest builds and loads, but a store would reject or flag it as written.",
      "warn": true
    },
    "W_PERMISSION_MISMATCH": {
      "area": "manifest",
      "summary": "The code uses an API or reaches a host that the manifest permissions do not cover the way the code needs.",
      "warn": true
    },
    "W_API_UNSUPPORTED": {
      "area": "compile",
      "summary": "The code calls an extension API, or a form of one, that the target browser does not have.",
      "warn": true
    },
    "W_WAR_EXPOSURE": {
      "area": "compile",
      "summary": "A file a script names is not reachable through web_accessible_resources, or the build exposed it more widely than the manifest lists.",
      "warn": true
    },
    "W_CSS_NOT_APPLIED": {
      "area": "compile",
      "summary": "A stylesheet import or url() is kept in the output but the browser will not apply it where it sits.",
      "warn": true
    },
    "W_ENV_SECRET_PUBLIC": {
      "area": "project",
      "summary": "An EXTENSION_PUBLIC_ variable has a name that looks like a secret, and its value is written into the built code.",
      "warn": true
    },
    "W_BUILD_CONSTANT_UNDEFINED": {
      "area": "compile",
      "summary": "A script reads a build constant that nothing defines, so it throws when it loads.",
      "warn": true
    },
    "W_SCRIPT_WORLD_UNKNOWN": {
      "area": "compile",
      "summary": "A script is registered at runtime with a world the build cannot read, so it is treated as an isolated world script.",
      "warn": true
    },
    "W_ENV_NAME_RESERVED": {
      "area": "project",
      "summary": "A .env file sets a name the build reserves for the browser or mode it compiles for, so the file value is ignored.",
      "warn": true
    },
    "W_COMPANION_EXTENSION_PATH": {
      "area": "project",
      "summary": "A companion extension entry leads outside the project, is not an unpacked extension folder, or names a folder that does not exist, so the browser opens without it.",
      "warn": true
    },
    "W_ENV_DEFINE_WRITTEN": {
      "area": "compile",
      "summary": "Project code writes to a process.env or import.meta.env name the build replaces with its value. The write runs, and reads of that name keep the build value.",
      "warn": true
    },
    "W_ENV_ASSET_NOT_UTF8": {
      "area": "compile",
      "summary": "An emitted .json or .html file holds a $EXTENSION_ placeholder but is not UTF-8 text, so it ships byte for byte and the placeholder is left as written.",
      "warn": true
    },
    "W_HTML_NOT_UTF8": {
      "area": "compile",
      "summary": "An HTML page of the extension is not UTF-8 text. A page that declares its charset is converted to UTF-8, and one that does not ships with a replacement character for each byte that is not UTF-8.",
      "warn": true
    },
    "W_CDP_NOT_CONNECTED": {
      "area": "debug-protocol",
      "summary": "A dev, start or preview session came up with no live CDP transport and stayed ready. Reload and HMR cannot attach.",
      "warn": true
    },
    "W_CDP_TIMEOUT": {
      "area": "debug-protocol",
      "summary": "A CDP command or load timed out after launch, and the dev, start or preview session stayed ready. Reload and HMR cannot attach.",
      "warn": true
    },
    "W_CDP_OP_FAILED": {
      "area": "debug-protocol",
      "summary": "An extension operation over CDP failed after launch, and the dev, start or preview session stayed ready. Reload and HMR cannot attach. A fault of any class other than the four with a warning name of their own is reported under this code too.",
      "warn": true
    },
    "W_BROWSER_CONNECTION_CLOSED": {
      "area": "debug-protocol",
      "summary": "The debug socket closed after launch, and the dev, start or preview session stayed ready. Reload and HMR cannot attach.",
      "warn": true
    },
    "W_EXTENSION_ID_UNKNOWN": {
      "area": "debug-protocol",
      "summary": "The extension id could not be determined over CDP after launch, and the dev, start or preview session stayed ready. Reload and HMR cannot attach.",
      "warn": true
    },
    "W_RELOAD_NOT_APPLIED": {
      "area": "dev-server",
      "summary": "Printed in the browser console of a dev session: a reload or hot update could not be applied there, so the open page or extension keeps the build it has.",
      "warn": true
    },
    "W_CONTENT_SCRIPT_NOT_INJECTED": {
      "area": "dev-server",
      "summary": "Printed in the background console of a dev session: the background could not answer a page that asks for its content script, so that page runs without it.",
      "warn": true
    },
    "W_CONTENT_SCRIPT_CLEANUP": {
      "area": "browser-runtime",
      "summary": "Printed in the page console: the cleanup function a content script returned threw, so what the script left on the page may stay.",
      "warn": true
    },
    "W_CONTENT_SCRIPT_MOUNT": {
      "area": "browser-runtime",
      "summary": "Printed in the page console: the default export of a content script threw when it ran.",
      "warn": true
    },
    "W_DEV_SERVER_SOCKET": {
      "area": "dev-server",
      "summary": "Printed in the console of an extension page in a dev session: the socket to the dev server failed, so edits show after the page is reloaded.",
      "warn": true
    }
  },
  "legacy": {
    "ready": {
      "compile_error": ["E_FIRST_COMPILE", "E_COMPILE"],
      "compile_failed": "E_COMPILE_FATAL",
      "shutdown": "E_SESSION_STOPPED",
      "dev_server_start_failed": "E_DEV_SERVER_START",
      "preview_manifest_missing": "E_PREVIEW_NO_DIST",
      "browser_exited": "E_BROWSER_EXITED",
      "browser_launch_failed": [
        "E_BROWSER_LAUNCH",
        "E_BROWSER_BINARY_INVALID",
        "E_FLAG_NOT_SUPPORTED_HERE",
        "E_BROWSER_BINARY_REQUIRED",
        "E_BROWSER_NOT_FOUND",
        "E_BROWSER_START_TIMEOUT",
        "E_BROWSER_CONNECT",
        "E_BROWSER_CONNECTION_CLOSED",
        "E_RDP_PROTOCOL",
        "E_ADDON_INSTALL",
        "E_PORT_UNAVAILABLE"
      ],
      "extension_load_refused": "E_EXTENSION_LOAD_REFUSED",
      "profile_locked": "E_PROFILE_LOCKED",
      "build_failed": ["E_COMPILE", "E_ZIP_SKIPPED"],
      "preview_failed": "E_INTERNAL"
    },
    "names": {
      "Timeout": "E_TIMEOUT",
      "Unavailable": "E_CONTROL_UNAVAILABLE",
      "Forbidden": "E_EVAL_REFUSED",
      "EvalDisabled": "E_EVAL_REFUSED",
      "EvalTokenMissing": "E_TOKEN_MISSING",
      "EvalTokenMismatch": "E_EVAL_REFUSED",
      "TargetNotFound": "E_TARGET_NOT_FOUND",
      "BadRequest": "E_ARGS",
      "Unsupported": [
        "E_TARGET_NOT_FOUND",
        "E_NOT_IMPLEMENTED",
        "E_HEADED_WINDOW_REQUIRED",
        "E_USER_GESTURE_REQUIRED",
        "E_CSP_BLOCKS_EVAL"
      ],
      "EvalError": ["E_EVAL", "E_CSP_BLOCKS_EVAL"],
      "InspectError": "E_INSPECT",
      "StorageError": "E_STORAGE",
      "AmbiguousInstanceError": "E_INSTANCE_AMBIGUOUS",
      "TemplateNotFoundError": "E_TEMPLATE_NOT_FOUND",
      "TemplateDownloadError": "E_NETWORK",
      "CliError": "E_ARGS"
    },
    "doctorChecks": {
      "session-resolution": "E_INSTANCE_AMBIGUOUS",
      "engine": "E_COMMAND_UNSUPPORTED_FOR_TARGET",
      "peer-rspack": "E_DEPENDENCY_INSTALL",
      "ready-contract": "E_SESSION_NOT_FOUND",
      "server-process": "E_SESSION_NOT_FOUND",
      "port-agreement": "E_CONTROL_UNAVAILABLE",
      "control-channel": "E_CONTROL_UNAVAILABLE",
      "eval-token": "E_TOKEN_MISSING",
      "executor": "E_CONTROL_UNAVAILABLE",
      "browser": "E_BROWSER_LAUNCH"
    }
  },
  "folded": {
    "E_ARG_REQUIRED": "E_ARGS",
    "E_ARG_INVALID": "E_INVALID_OPTION",
    "E_BAD_REQUEST": "E_ARGS",
    "E_BROWSER_UNSUPPORTED": "E_UNSUPPORTED_BROWSER",
    "E_BROWSER_NOT_INSTALLED": "E_BROWSER_NOT_FOUND",
    "E_BROWSER_INSTALL_FAILED": "E_BROWSER_DOWNLOAD",
    "E_DEPS_INSTALL": "E_DEPENDENCY_INSTALL",
    "E_CREATE_DEPS_INSTALL": "E_DEPENDENCY_INSTALL",
    "E_CREATE_NAME_REQUIRED": "E_ARGS",
    "E_CREATE_URL_NOT_ALLOWED": "E_INVALID_OPTION",
    "E_CREATE_DIR_NOT_WRITEABLE": "E_DESTINATION_NOT_WRITABLE",
    "E_CREATE_DIR_CONFLICTS": "E_DESTINATION_NOT_EMPTY",
    "E_TEMPLATE_DOWNLOAD": "E_NETWORK",
    "E_TEMPLATE_FETCH_TIMEOUT": "E_NETWORK",
    "E_MANIFEST_INVALID_JSON": "E_MANIFEST_INVALID",
    "E_MANIFEST_NOT_EXTENSION": "E_MANIFEST_INVALID",
    "E_READY_NOT_FOUND": "E_SESSION_NOT_FOUND",
    "E_READY_STALE": "E_SESSION_NOT_FOUND",
    "E_PORT_DISAGREEMENT": "E_CONTROL_UNAVAILABLE",
    "E_CONTROL_INSTANCE_MISMATCH": "E_CONTROL_UNAVAILABLE",
    "E_CONTROL_BAD_HELLO": "E_CONTROL_UNAVAILABLE",
    "E_CONTROL_HANDSHAKE_TIMEOUT": "E_CONTROL_UNAVAILABLE",
    "E_CONTROL_NOT_OPEN": "E_CONTROL_UNAVAILABLE",
    "E_CONTROL_PROTOCOL": "E_CONTROL_UNAVAILABLE",
    "E_CONTROL_TOKEN_MISSING": "E_TOKEN_MISSING",
    "E_EXECUTOR_UNAVAILABLE": "E_CONTROL_UNAVAILABLE",
    "E_COMMAND_TIMEOUT": "E_TIMEOUT",
    "E_EVAL_DISABLED": "E_EVAL_REFUSED",
    "E_EVAL_TOKEN_MISSING": "E_TOKEN_MISSING",
    "E_EVAL_TOKEN_MISMATCH": "E_EVAL_REFUSED",
    "E_UNSUPPORTED_OP": "E_NOT_IMPLEMENTED",
    "E_UNINSTALL_TARGET_REQUIRED": "E_ARGS",
    "E_PREVIEW_NO_LAUNCHER": "E_INTERNAL",
    "E_SAFARI_PLATFORM": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_XCODE_MISSING": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_TOOL_MISSING": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_TOOL_FAILED": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_XCODEBUILD": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_APP_NOT_REGISTERED": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_PROJECT_STALE": "E_SAFARI_TOOLCHAIN",
    "E_SAFARI_BUNDLE_ID_INVALID": "E_INVALID_OPTION",
    "E_PUBLISH_NO_TOKEN": "E_AUTH_REQUIRED",
    "E_PUBLISH_UNREACHABLE": "E_NETWORK",
    "E_UNKNOWN": "E_INTERNAL",
    "E_TSCONFIG_MISSING": "E_COMPILE",
    "E_INTEGRATION_INSTALL": "E_DEPENDENCY_INSTALL",
    "E_WSL_INTEROP": "E_BROWSER_NOT_FOUND",
    "E_MATCH_PATTERN_INVALID": "E_EXTENSION_LOAD_REFUSED",
    "E_MANAGED_DEP_CONFLICT": "W_MANAGED_DEP_CONFLICT",
    "E_TYPES_EMIT": "W_TYPES_EMIT",
    "E_POLYFILL_NOT_FOUND": "W_POLYFILL_NOT_FOUND",
    "E_PROD_LOOPBACK_ORIGIN": "W_PROD_LOOPBACK_ORIGIN",
    "E_NO_ENTRYPOINTS": "W_NO_ENTRYPOINTS",
    "E_REMOTE_RESOURCE_BLOCKED": "W_REMOTE_RESOURCE_BLOCKED",
    "E_ENV_NO_MATCH": "W_ENV_NO_MATCH",
    "E_LAUNCH_SKIPPED_COMPILE_ERRORS": "W_LAUNCH_SKIPPED_COMPILE_ERRORS",
    "E_UNINSTALL_NOOP": "W_UNINSTALL_NOOP",
    "E_PORT_IN_USE": "W_PORT_IN_USE",
    "E_LOGS_STREAM_GAP": "W_LOGS_STREAM_GAP"
  }
}
