Class TextErrorRenderer
Plain text error rendering with a stack trace.
Useful in CLI environments.
Namespace: Cake\Error\Renderer
Method Summary
-
render() public
Render output for the provided error.
-
write() public
Write output to the renderer's output stream
Method Detail
render() ¶ public
render(Cake\Error\PhpError $error, bool $debug): string
Render output for the provided error.
Parameters
-
Cake\Error\PhpError
$error -
bool
$debug
Returns
string
write() ¶ public
write(string $out): void
Write output to the renderer's output stream
Parameters
-
string
$out
Returns
void