NetworkException
class NetworkException(val reason: NetworkException.Reason, cause: Throwable? = null) : IOException(source)
A request to a remote source failed, for reason.
The data layer throws it in place of the HTTP client's own exception, so a caller can tell the failures apart without depending on the client. :library:core:network translates the client's exceptions into this one, and the UI layer turns it into text. The client's exception stays as cause for reporting.
It is an IOException, so code that already catches I/O failures still catches it.