ToolCallError

org.llm4s.toolapi.ToolCallError
See theToolCallError companion trait
object ToolCallError

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class ExecutionError(toolName: String, cause: Throwable) extends ToolCallError

Tool execution failed (after parameters were validated)

Tool execution failed (after parameters were validated)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class HandlerError(toolName: String, error: String) extends ToolCallError

Tool handler returned an error (business logic failure)

Tool handler returned an error (business logic failure)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class InvalidArguments(toolName: String, parameterErrors: List[ToolParameterError]) extends ToolCallError

Tool has parameter validation errors

Tool has parameter validation errors

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class NullArguments(toolName: String) extends ToolCallError

Tool received null arguments when it expected an object

Tool received null arguments when it expected an object

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class UnknownFunction(toolName: String) extends ToolCallError

Tool function doesn't exist

Tool function doesn't exist

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror