Class ConversationError


  • public class ConversationError
    extends Object
    Present when a conversation run failed.

    This describes a failure of the conversation run itself (the HTTP call succeeded, but the Agent's workflow ended in the failed status) — it is unrelated to OpenApiException, which is thrown for request-level failures (network, auth, malformed request, etc).

    • Constructor Detail

      • ConversationError

        public ConversationError()
    • Method Detail

      • getCode

        public int getCode()
        Returns the error code.
        Returns:
        error code
      • getMessage

        public String getMessage()
        Returns the error message.
        Returns:
        error message