class InvalidQueryException extends ApiException

An InvalidQueryException is thrown when the query could not be executed. The most common case is setting a non-existing content type or field name.

Methods

__construct(RequestException $previous, string $message = '')

RequestException constructor.

RequestInterface
getRequest()

Get the request that caused the exception.

ResponseInterface|null
getResponse()

Get the associated response.

bool
hasResponse()

Check if a response was received.

string|null
getRequestId()

No description

Details

in ApiException at line 46
__construct(RequestException $previous, string $message = '')

RequestException constructor.

Parameters

RequestException $previous
string $message

in ApiException at line 85
RequestInterface getRequest()

Get the request that caused the exception.

Return Value

RequestInterface

in ApiException at line 95
ResponseInterface|null getResponse()

Get the associated response.

Return Value

ResponseInterface|null

in ApiException at line 105
bool hasResponse()

Check if a response was received.

Return Value

bool

in ApiException at line 113
string|null getRequestId()

Return Value

string|null