Since we can't expose sqlx' errors because we also have indexed db, we need to abstract that kind of errors.
Take a look at sqlx' errors enum and figure out which variants are worth to include. Also, maybe we should have a look at the IndexedDB API for errors that can occur there.