Class RAGFlowApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.core.rag.integration.ragflow.exception.RAGFlowApiException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RAGFlowAuthException

public class RAGFlowApiException extends RuntimeException
Exception thrown when RAGFlow API call fails.
Author:
RAGFlow Integration Team
See Also:
  • Constructor Details

    • RAGFlowApiException

      public RAGFlowApiException(String message)
    • RAGFlowApiException

      public RAGFlowApiException(String message, int statusCode)
    • RAGFlowApiException

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

      public RAGFlowApiException(String message, Throwable cause)
    • RAGFlowApiException

      public RAGFlowApiException(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