Interface ExceptionRendererInterface
Interface ExceptionRendererInterface
Namespace: Cake\Error
Method Summary
-
render() public @method
Render the exception to a string or Http Response.
-
write() public @method
Write the output to the output stream. This method is only called when exceptions are handled by a global default exception handler.
Method Detail
render() ¶ public @method
render(): Psr\Http\Message\ResponseInterface|string
Render the exception to a string or Http Response.
Returns
Psr\Http\Message\ResponseInterface|string
write() ¶ public @method
write(Psr\Http\Message\ResponseInterface|string $output): void
Write the output to the output stream. This method is only called when exceptions are handled by a global default exception handler.
Parameters
-
Psr\Http\Message\ResponseInterface|string
$output
Returns
void