StorageException
class StorageException(val reason: StorageException.Reason, cause: Throwable? = null) : IOException(source)
Reading or writing local storage failed, for reason.
The data layer throws it in place of the storage library's own exception, so a caller can tell the failures apart without depending on DataStore or SQLite. :library:core:datastore translates those exceptions into this one, and the UI layer turns it into text. The original exception stays as cause for reporting.
It is an IOException, so code that already catches I/O failures still catches it.