exception property
The exception that happened in the context running the operation.
Since that context may be a web worker which can't send arbitrary Dart objects to us, only a few common exception types are recognized and serialized. At the moment, this only includes SqliteException.
Implementation
final Object? exception;