TrackRecordPro API Documentation TrackRecordPro

Exceptions

MethodNotFoundException

Thrown when an invalid method is called on the CoMech\TRP\API object.

MalformedJSONException

Thrown when a malformed JSON response is received from the API endpoint

LoginException

Thrown when an attempt is made to perform Impersonation Mode authentication, and the username/password is incorrect.

JSONResponseException

Thrown when an endpoint returns an error in response to a query given to it

HTTPException

Thrown when a HTTP error occurs when communicating with the API

FileNotFoundException

Thrown when a file is not found locally, e.g. a file to upload, or a certificate file to authenticate with.

CertificateFormatException

Thrown if a certificate given for authentication is malformed. Only valid PEM X509 format certificates are supported by the library.