ApolloNetworkException
class ApolloNetworkException(message: String? = null, val platformCause: Any? = null) : ApolloException
An I/O error happened: socket closed, DNS issue, TLS problem, file not found, etc...
This is called ApolloNetworkException for historical reasons, but it should have been ApolloIOException
instead. ApolloNetworkException is thrown when an I/O error happens reading the operation.
Parameters
message
a message indicating what the error was.
platformCause
the underlying cause to get more details about what went wrong. When not null, it is either:
or a NSError on Apple platforms.