Package com.alibaba.dashscope.errors
package com.alibaba.dashscope.errors
-
ClassDescriptionNetwork-level failure (connection refused, DNS, TLS, reset mid-stream...).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.Request timed out (connect/read/write).HTTP 401: authentication failed or API key invalid.HTTP 400: the request is invalid.Input or output blocked by content moderation (wire codeDataInspectionFailed).Base class for all DashScope 3.0 SDK errors.Registry-driven error factory (design §5).HTTP 504: the gateway timed out.HTTP 500: the server encountered an internal error.HTTP 404: the requested resource was not found.HTTP 403: no permission to access the resource.Customer-facing error definitions.HTTP 429: rate / concurrency / quota limit hit.HTTP 413: the request exceeds the maximum allowed size.SDK client-side error codes.A failure the SDK reported itself, with no HTTP response behind it.HTTP 503: the service is temporarily unavailable.