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. Might be null. When not null, it can be cast to:
a Throwable on JVM platforms.
a NSError on Darwin platforms. to get more details about what went wrong.