Interface DuctapeError

All Known Implementing Classes:
AgentError, ApiException, CacheError, DatabaseError, GraphError, HttpRateLimitExceededException, IntegrationApiError, QueryValidationError, ResilienceError, SecretEnvironmentError, SecretExpiredError, SecretNotFoundError, SecretRevokedError, SecretScopeError, SessionsResolver.SessionResolutionError, VectorError

public interface DuctapeError
Common contract for typed SDK exceptions without forcing existing classes into a new hierarchy.
  • Method Summary

    Modifier and Type
    Method
    Description
    Stable machine-readable code, suitable for logs and API envelopes.
    default Map<String,Object>
    Optional structured details; implementations may return an empty map.
  • Method Details

    • code

      String code()
      Stable machine-readable code, suitable for logs and API envelopes.
    • details

      default Map<String,Object> details()
      Optional structured details; implementations may return an empty map.