Uses of Class
africa.sendbyte.exceptions.SendByteException
Packages that use SendByteException
-
Uses of SendByteException in africa.sendbyte.exceptions
Subclasses of SendByteException in africa.sendbyte.exceptionsModifier and TypeClassDescriptionclassauthentication_error(401): missing, revoked, or malformed API key.classauthorization_error(403): the API key's scope is insufficient.classdomain_not_verified(403): live send attempted from an unverified domain.classidempotency_conflict(409): idempotency key reused with a different payload.classinternal_error(500): a server-side fault occurred.classnot_found(404): the requested resource does not exist.classrate_limit_exceeded(429): the per-key request rate was exceeded.classRaised when the SDK cannot reach the SendByte API at all (DNS failure, connection reset, timeout, etc.).classsuppressed_recipient(422): a recipient is on the project's suppression list.classvalidation_error(422): one or more request fields failed validation.Methods in africa.sendbyte.exceptions that return SendByteExceptionModifier and TypeMethodDescriptionstatic SendByteExceptionSendByteException.fromApiError(int status, String code, String message, String docsUrl, String requestId, Integer retryAfterSeconds) Build the most specific exception subclass for an API error response.