Exceptions

TrivoreIDException

Exception is thrown when network or TrivoreID failure occurred. The exception contains error code of the response that allows to handle errors individually. The request calls also generate separate exceptions that extend TrivoreIDException.

TrivoreIDErrorException

When the HTTP response code is 400.

AuthenticationException

When the HTTP response code is 401.

ForbiddenException

When the HTTP response code is 403.

NotFoundException

When the HTTP response code is 404.

ConflictException

When the HTTP response code is 409.

MobileQuotaReachedException

When the HTTP response code is 429.

TrivoreIDSDKException

Exception is thrown when TrivoreID SDK is incorrectly used.