Symfony\Component\Debug\ExceptionHandler::createResponse
Creates the error Response associated with the given Exception.
Signature
public function createResponse(Exception|FlattenException
$exception )
Parameters
$exception
— object- An \Exception instance
Returns
- Response
- A Response instance