Plain text error rendering with a stack trace.
Writes to STDERR via a Cake\Console\ConsoleOutput instance for console environments
Constructor.
Render output for the provided error.
Write output to the renderer's output stream
__construct(array $config)
Constructor.
stderr - The ConsoleOutput instance to use. Defaults to php://stderr
trace - Whether or not stacktraces should be output.array $config Error handling configuration.
render(Cake\Error\PhpError $error, bool $debug): string
Render output for the provided error.
Cake\Error\PhpError $error bool $debug stringwrite(string $out): void
Write output to the renderer's output stream
string $out voidCake\Console\ConsoleOutputbool
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/class-Cake.Error.Renderer.ConsoleErrorRenderer.html