BadRequestException
class BadRequestException extends ApiException
A BadRequestException indicates that there was a problem with the request.
Methods
__construct(RequestException $previous, string $message = '')
RequestException constructor.
from ApiException
Details
in ApiException at line 46
__construct(RequestException $previous, string $message = '')
RequestException constructor.
in ApiException at line 85
RequestInterface
getRequest()
Get the request that caused the exception.
in ApiException at line 95
ResponseInterface|null
getResponse()
Get the associated response.
in ApiException at line 105
bool
hasResponse()
Check if a response was received.