Skip to content

Latest commit

 

History

History
37 lines (17 loc) · 867 Bytes

Freshdesk-Exceptions-ValidationException.md

File metadata and controls

37 lines (17 loc) · 867 Bytes

Freshdesk\Exceptions\ValidationException

Validation Exception

Thrown when the Freshdesk API returns a 400 code. This means the request body/query string is not in the correct format. For example, the Create a ticket API requires the requester_id field to be sent as part of the request and if it is missing, this status code is returned

Methods

getRequestException

\GuzzleHttp\Exception\RequestException Freshdesk\Exceptions\ApiException::getRequestException()

Returns the Request Exception

A Guzzle Request Exception is returned