src/Route/AssetScheme.php
public function handleError(\Jivoo\Http\ActionRequest $request, \Psr\Http\Message\ResponseInterface $response)
    {
        if (isset($this->errorHandler)) {
            return call_user_func($this->errorHandler, $request, $response);
        }
        return $response->withBody(new \Jivoo\Http\Message\StringStream('Asset not found'))
            ->withStatus(\Jivoo\Http\Message\Status::NOT_FOUND);
    }
public function handleError(\Jivoo\Http\ActionRequest $request, \Psr\Http\Message\ResponseInterface $response)
    {
        if (isset($this->errorHandler)) {
            return call_user_func($this->errorHandler, $request, $response);
        }
        return $response->withBody(new \Jivoo\Http\Message\StringStream('Asset not found'))
            ->withStatus(\Jivoo\Http\Message\Status::NOT_FOUND);
    }
public function handleError ( \ Jivoo \ Http \ ActionRequest $ request , \ Psr \ Http \ Message \ ResponseInterface $ response ) { if ( isset ( $ this -> errorHandler ) ) { return call_user_func ( $ this -> errorHandler , $ request , $ response ) ; } return $ response -> withBody ( new \ Jivoo \ Http \ Message \ StringStream ( 'Asset not found' ) ) -> withStatus ( \ Jivoo \ Http \ Message \ Status :: NOT_FOUND ) ; }
Create the error response.

@param \Jivoo\Http\ActionRequest $request Request.
@param \Psr\Http\Message\ResponseInterface $response Response.
@return \Psr\Http\Message\ResponseInterface Error response.
Create the error response .