类:SpringAIErrorMapper.MappedError
java.lang.Object
com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- Enclosing class:
SpringAIErrorMapper
用于存储映射错误信息的容器。
-
构造函数概述
ConstructorsConstructorDescriptionMappedError(SpringAIErrorMapper.ErrorCategory category, SpringAIErrorMapper.RetryStrategy retryStrategy, String normalizedMessage) -
方法概述
-
构造函数详细信息
-
MappedError
public MappedError(SpringAIErrorMapper.ErrorCategory category, SpringAIErrorMapper.RetryStrategy retryStrategy, String normalizedMessage)
-
-
方法详细信息(Method Details)
-
getCategory
-
getRetryStrategy
-
getNormalizedMessage
-
isRetryable
public boolean isRetryable() -
getRetryDelay
public long getRetryDelay(int attempt) -
toString
-