# Class SpringAIErrorMapper.MappedError

java.lang.Object
com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError

Enclosing class:
  `SpringAIErrorMapper`

public static class SpringAIErrorMapper.MappedError extends Object
Container for mapped error information.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MappedError(SpringAIErrorMapper.ErrorCategory category, SpringAIErrorMapper.RetryStrategy retryStrategy, String normalizedMessage)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SpringAIErrorMapper.ErrorCategory`
  `getCategory()`
  `String`
  `getNormalizedMessage()`
  `long`
  `getRetryDelay(int attempt)`
  `SpringAIErrorMapper.RetryStrategy`
  `getRetryStrategy()`
  `boolean`
  `isRetryable()`
  `String`
  `toString()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### MappedError

    public MappedError(SpringAIErrorMapper.ErrorCategory category, SpringAIErrorMapper.RetryStrategy retryStrategy, String normalizedMessage)

- ## Method Details

  - ### getCategory

    public SpringAIErrorMapper.ErrorCategory getCategory()

  - ### getRetryStrategy

    public SpringAIErrorMapper.RetryStrategy getRetryStrategy()

  - ### getNormalizedMessage

    public String getNormalizedMessage()

  - ### isRetryable

    public boolean isRetryable()

  - ### getRetryDelay

    public long getRetryDelay(int attempt)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`