Custom error class used to handle exceptions related to tool input parsing. It extends the built-in Error class and adds an optional output property that can hold the output that caused the exception.

Hierarchy

  • Error
    • ToolInputParsingException

Constructors

Properties

message: string
name: string
output?: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void