error property

AiError? error
final

Non-null when the agent hit an error or max iterations.

Implementation

final AiError? error;