hasError property
bool
get
hasError
Whether the tool encountered an error
Implementation
bool get hasError => state == ToolCallState.output_error;
Whether the tool encountered an error
bool get hasError => state == ToolCallState.output_error;