AIState<T>.error constructor
AIState<T>.error (
- Exception error
Creates an error state
Implementation
factory AIState.error(Exception error) => AIState(
error: error,
status: AIStatus.error,
);