Class SpringAIErrorMapper.MappedError
java.lang.Object
com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- Enclosing class:
SpringAIErrorMapper
Container for mapped error information.
-
Constructor Summary
ConstructorsConstructorDescriptionMappedError(SpringAIErrorMapper.ErrorCategory category, SpringAIErrorMapper.RetryStrategy retryStrategy, String normalizedMessage) -
Method Summary
-
Constructor Details
-
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
-