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:

Constructors

Link copied to clipboard
constructor(message: String? = null, platformCause: Any? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard
val platformCause: Any? = null