Interface ExceptionRendererInterface
Interface ExceptionRendererInterface
Namespace: Cake\Error
Method Summary
-
render() public
Renders the response for the exception.
-
write() public
Write the output to the output stream.
Method Detail
render() ¶ public
render(): Psr\Http\Message\ResponseInterface|string
Renders the response for the exception.
Returns
Psr\Http\Message\ResponseInterface|string
write() ¶ public
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 Response instance or string for output.
Returns
void