Uses of Class
com.alibaba.dashscope.errors.ApiStatusException
Packages that use ApiStatusException
-
Uses of ApiStatusException in com.alibaba.dashscope.errors
Subclasses of ApiStatusException in com.alibaba.dashscope.errorsModifier and TypeClassDescriptionclassHTTP 401: authentication failed or API key invalid.classHTTP 400: the request is invalid.classInput or output blocked by content moderation (wire codeDataInspectionFailed).classHTTP 504: the gateway timed out.classHTTP 500: the server encountered an internal error.classHTTP 404: the requested resource was not found.classHTTP 403: no permission to access the resource.classHTTP 429: rate / concurrency / quota limit hit.classHTTP 413: the request exceeds the maximum allowed size.classHTTP 503: the service is temporarily unavailable.Methods in com.alibaba.dashscope.errors that return ApiStatusExceptionModifier and TypeMethodDescriptionstatic ApiStatusExceptionErrors.fromBusinessCode(String code, String message, String requestId, Object body, Map<String, String> headers) Map the HTTP-200-with-business-code layer.static ApiStatusExceptionErrors.fromCatalogEntry(PublicErrorCode entry, String message, String requestId, Object body, Map<String, String> headers, Throwable cause) Public catalog entry raised verbatim for an SDK-side response-shape failure (an unparseable or malformed 2xx body).static ApiStatusExceptionErrors.fromStatus(int statusCode, String code, String message, String requestId, Object body, Map<String, String> headers) Map a non-2xx HTTP response into the exception family. -
Uses of ApiStatusException in com.alibaba.dashscope.resources.jobs
Methods in com.alibaba.dashscope.resources.jobs that return ApiStatusExceptionModifier and TypeMethodDescriptionstatic ApiStatusExceptionJobEventSupport.toException(JobEventStream.Frame frame) Oneevent:errorframe → the mapped exception (Python v2 _stream_error parity).