onError property
Called when an action fails — a malformed expression, a division by zero. Failures never crash the view; the state simply does not change.
Implementation
final ValueChanged<ChatGptException>? onError;
Called when an action fails — a malformed expression, a division by zero. Failures never crash the view; the state simply does not change.
final ValueChanged<ChatGptException>? onError;