infrastructure/exceptions/exceptions library

Exception types thrown across the app's networking, version-check, and security-check layers.

Exceptions / Errors

AppException
Base exception class for application-specific errors in Driver Lite.
CertificatePinningException
Exception for SSL certificate pinning validation failures.
ConflictException
Exception for HTTP 409 Conflict errors.
ExternalLaunchException
Exception thrown when launching an external URL or application fails.
ForbiddenException
Exception for HTTP 403 Forbidden errors.
ForceUpdateException
Thrown by AppVersionCheckTask when the installed app version is below the minimum required version specified in Firebase Remote Config.
JailbreakAppException
Base class for exceptions thrown when a jailbreak or root detection check fails or errors.
MultiJailbreakException
Exception thrown when a multi-check jailbreak or root detection scan finds one or more issues.
NetworkAppException
Base class for network-related application exceptions.
NetworkException
Exception for general network connectivity failures.
NotFoundException
Exception for HTTP 404 Not Found errors.
PayloadTooLargeException
Exception for HTTP 413 Payload Too Large errors.
RequestCancelledException
Exception for intentionally cancelled HTTP requests.
ServerException
Exception for HTTP 5xx server errors.
SingleJailbreakException
Exception thrown when a single jailbreak or root detection check fails.
TimeoutException
Exception for request timeout failures.
TooManyRequestsException
Exception for HTTP 429 Too Many Requests errors.
UnauthorizedException
Exception for HTTP 401 Unauthorized errors.
ValidationException
Exception for HTTP 422 validation errors with field-specific details.