Class ToolArgumentsException

All Implemented Interfaces:
Serializable

public class ToolArgumentsException extends LangChain4jException
Indicates that something is wrong with the tool arguments. For example, the JSON cannot be parsed, or an argument is of the wrong type.
Since:
1.4.0
See Also:
  • Constructor Details

    • ToolArgumentsException

      public ToolArgumentsException(String message)
    • ToolArgumentsException

      public ToolArgumentsException(Throwable cause)
    • ToolArgumentsException

      public ToolArgumentsException(String message, Integer errorCode)
    • ToolArgumentsException

      public ToolArgumentsException(Throwable cause, Integer errorCode)
  • Method Details

    • errorCode

      public Integer errorCode()