In Kotlin multiplatform (Android/iOS), whenever I'...
# squarelibraries
c
In Kotlin multiplatform (Android/iOS), whenever I'm querying via SQLDelight, what are the possible exceptions that I should be handling?
a
I don't think I do any error handling for sqldelight. If I'd get a crash from sqldelight it'd probably be a logic error like for example calling
executeAsOne
when 0 or more than 1 matching rows exist etc.
c
Can't there always be errors any time you're interacting with a database or doing file I/O? E.g. what happens when you're trying to insert some data and there's not enough storage space on the device?