src/ha/Access/HTTP/Error/Handler/HTTPErrorHandlerDefault.php
public function handleError(HTTPInputRequest $request, HTTPOutputResponse $response, \Throwable $e) : void
    {
        if ($e instanceof HTTPError) {
            $e->generateErrorResponse();
        }
        #$error = (new HTTPServerError([], $e->getMessage()))->generateErrorResponse();
        throw $e;
    }
public function handleError(HTTPInputRequest $request, HTTPOutputResponse $response, \Throwable $e) : void
    {
        if ($e instanceof HTTPError) {
            $e->generateErrorResponse();
        }
        #$error = (new HTTPServerError([], $e->getMessage()))->generateErrorResponse();
        throw $e;
    }
public function handleError ( HTTPInputRequest $ request , HTTPOutputResponse $ response , \ Throwable $ e ) : void { if ( $ e instanceof HTTPError ) { $ e -> generateErrorResponse ( ) ; } #$error = (new HTTPServerError([], $e->getMessage()))->generateErrorResponse(); throw $ e ; }
Handle HTTP error or other \Throwable instance throwed under HTTP access.

@param HTTPInputRequest $request
@param HTTPOutputResponse $response
@param \Throwable $e

@throws \Throwable
@internal param \Throwable $error
Handle HTTP error or other \ Throwable instance throwed under HTTP access .