Class HayStackApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.core.rag.integration.haystack.exception.HayStackApiException
All Implemented Interfaces:
Serializable

public class HayStackApiException extends RuntimeException
Exception thrown when HayStack API call fails.
See Also:
  • Constructor Details

    • HayStackApiException

      public HayStackApiException(String message)
    • HayStackApiException

      public HayStackApiException(String message, int statusCode)
    • HayStackApiException

      public HayStackApiException(String message, int statusCode, String errorCode)
    • HayStackApiException

      public HayStackApiException(String message, Throwable cause)
    • HayStackApiException

      public HayStackApiException(String message, int statusCode, Throwable cause)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • getErrorCode

      public String getErrorCode()
    • toString

      public String toString()
      Overrides:
      toString in class Throwable