onError property

RecoveryAction Function(LocusError error, ErrorContext context)? onError
final

Callback to handle errors and determine recovery action.

Return RecoveryAction to specify how to recover.

Implementation

final RecoveryAction Function(LocusError error, ErrorContext context)?
    onError;