Class ApiError


  • public final class ApiError
    extends java.lang.Object
    • Method Detail

      • getCode

        public java.lang.String getCode()
        Returns:
        Error code for programmatic handling.
      • getMessage

        public java.lang.String getMessage()
        Returns:
        Human-readable error message suitable for displaying to developers. Do not rely on the exact text of this message as it may change.
      • getRetryable

        public boolean getRetryable()
        Returns:
        Whether the request can be retried. When true, retry with exponential backoff. When false, fix the underlying issue before retrying.
      • getRequestId

        public java.util.Optional<java.lang.String> getRequestId()
        Returns:
        Unique request identifier for support purposes. Always include this when contacting Extend support about an error.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object