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|stringwrite() 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
© 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/interface-Cake.Error.ExceptionRendererInterface.html