onObserverError property

MssqlDiagnosticSink? onObserverError
final

Where an observer exception goes instead of the caller's catch.

Null uses Zone.current.handleUncaughtError, which is already not the statement's own error. A custom sink is for a logger that must not look like a failed DML.

Implementation

final MssqlDiagnosticSink? onObserverError;