protected function getResponseContent($ex, int $statusCode, array $headers) : string
    {
        return $this->getDefaultResponseContent($ex, $statusCode);
    }
protected function getResponseContent($ex, int $statusCode, array $headers) : string
    {
        return $this->getDefaultResponseContent($ex, $statusCode);
    }
protected function getResponseContent ( $ ex , int $ statusCode , array $ headers ) : string { return $ this -> getDefaultResponseContent ( $ ex , $ statusCode ) ; }
Gets the content for the response

@param Throwable|Exception $ex The exception
@param int $statusCode The HTTP status code
@param array $headers The HTTP headers
@return string The response content
Gets the content for the response