Class ToolExecutionException

All Implemented Interfaces:
Serializable

public class ToolExecutionException extends LangChain4jException
Indicates that something went wrong while executing the tool.
Since:
1.4.0
See Also:
  • Constructor Details

    • ToolExecutionException

      public ToolExecutionException(String message)
    • ToolExecutionException

      public ToolExecutionException(Throwable cause)
    • ToolExecutionException

      public ToolExecutionException(String message, Integer errorCode)
    • ToolExecutionException

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

    • errorCode

      public Integer errorCode()