Class ApiStatusException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticationException, BadRequestException, GatewayTimeoutException, InternalServerException, NotFoundException, PermissionDeniedException, RateLimitException, RequestTooLargeException, ServiceUnavailableException

public class ApiStatusException extends DashScopeException
A failure the gateway declared, on either layer of the dual error model: a non-2xx HTTP status, or HTTP 200 whose body carries a business code. The instance's statusCode says which one it was. Unmapped wire codes land here directly (never guessed into a subclass).
See Also: