FrameworkBundle determines the error renderer based on the application runtime mode defined by the `APP RUNTIME MODE` environment variable. When this variable is unset, the cli, phpdbg, and embed SAPIs default to CLI mode, utilizing the `CliErrorRenderer` function. This renderer outputs the complete exception details, including messages, file paths, and stack traces, even when debug mode is disabled. HTTP workers operating under the CLI SAPI without a set `APP RUNTIME MODE` may expose these dumps in production error responses. Certain exceptions, such as those from access control rules, may further expose server parameters and all application environment variables.