X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fseekat;a=blobdiff_plain;f=lib%2FException%2FRequestException.php;h=3ef263c00e8d4d72ef700eee5ca5858e15e3dc42;hp=575097fc811a2d391db475b3db0a633cda598395;hb=e368287b3cd2dd40945ac8d1a1946bc32268007d;hpb=f4aa6beaf2e1f0dc9c877782cbbad5a989194517 diff --git a/lib/Exception/RequestException.php b/lib/Exception/RequestException.php index 575097f..3ef263c 100644 --- a/lib/Exception/RequestException.php +++ b/lib/Exception/RequestException.php @@ -60,6 +60,13 @@ class RequestException extends \Exception implements Exception return $this->errors; } + /** + * @return Response + */ + function getResponse() : Response { + return $this->response; + } + /** * Combine any errors into a single string * @staticvar array $reasons