ApolloNetworkException

class ApolloNetworkException(message: String?, platformCause: Any?) : ApolloException

A network error happened: socket closed, DNS issue, TLS problem, etc...

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.

Constructors

ApolloNetworkException
Link copied to clipboard
common
fun ApolloNetworkException(message: String? = null, platformCause: Any? = null)
a message indicating what the error was.

Properties

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