namespace seekat\Exception;
-use Exception as BaseException;
use http\ {
Client\Response,
Header
/**
* @code-coverage-ignore
*/
-class RequestException extends BaseException implements Exception
+class RequestException extends \Exception implements Exception
{
/**
* JSON errors
return $this->errors;
}
+ /**
+ * @return Response
+ */
+ function getResponse() : Response {
+ return $this->response;
+ }
+
/**
* Combine any errors into a single string
* @staticvar array $reasons