Uses of Enum Class
com.alibaba.dashscope.errors.SdkErrorCode
Packages that use SdkErrorCode
-
Uses of SdkErrorCode in com.alibaba.dashscope.errors
Methods in com.alibaba.dashscope.errors that return SdkErrorCodeModifier and TypeMethodDescriptionstatic SdkErrorCodeReturns the enum constant of this class with the specified name.static SdkErrorCode[]SdkErrorCode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.alibaba.dashscope.errors with parameters of type SdkErrorCodeModifier and TypeMethodDescriptionstatic ApiConnectionExceptionErrors.connection(SdkErrorCode entry, String detail, Throwable cause) SDK-side connection failure from the catalog, keeping theApiConnectionExceptiontype.static SdkExceptionErrors.fromSdkErrorCode(SdkErrorCode entry) static SdkExceptionErrors.fromSdkErrorCode(SdkErrorCode entry, Map<String, String> vars) SDK-side failure straight from the catalog.static SdkExceptionErrors.io(SdkErrorCode entry, String detail, Throwable cause) SDK-side local I/O failure from the catalog, kept as plainSdkException: a filesystem failure is not a connection problem, so it must not masquerade asApiConnectionException.static ApiTimeoutExceptionErrors.timeout(SdkErrorCode entry, String detail, Throwable cause) SDK-side timeout from the catalog, keeping theApiTimeoutExceptiontype.