ExceptionWrapper
Class ExceptionWrapper
Tags
Table of Contents
- wrapGuzzleBadResponseException() : BadResponseException
- Wrap Guzzle BadResponseException which returns truncated exception messages for 4xx and 5xx responses.
Methods
wrapGuzzleBadResponseException()
Wrap Guzzle BadResponseException which returns truncated exception messages for 4xx and 5xx responses.
public
static wrapGuzzleBadResponseException(BadResponseException $ex) : BadResponseException
Adds response body to the exception message.
Parameters
- $ex : BadResponseException
Return values
BadResponseException —containing HTTP response from Graph API