wrapSqlException method
Wrap SQL exception.
Implementation
SqfliteFfiException wrapSqlException(ffi.SqliteException e,
{String? code, Map<String, Object?>? details}) {
return SqfliteFfiException(
// Hardcoded
code: sqliteErrorCode,
message: code == null ? '$e' : '$code: $e',
details: details,
resultCode: e.extendedResultCode);
}