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.
Error
output
Optional
Static
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Create .stack property on a target object
Custom error class used to handle exceptions related to tool input parsing. It extends the built-in
Error
class and adds an optionaloutput
property that can hold the output that caused the exception.