A message describing the error.
OptionalerrorType: stringThe semantic error type (e.g.
ToolErrorType.REQUEST_TIMEOUT or '500'). Used to populate the
error.type span attribute in OpenTelemetry traces.
Optional ReadonlyerrorThe semantic error type (e.g.
ToolErrorType.REQUEST_TIMEOUT or '500'). Used to populate the
error.type span attribute in OpenTelemetry traces.
Represents an error that occurs during the execution of a tool.