DnsFailed

class DnsFailed(val host: String, cause: Throwable?) : TransportFailure(source)

The host name could not be resolved.

Stable Core. Message: The host name could not be resolved: <host>.

Parameters

host

the host name that did not resolve.

cause

the lower-level throwable, or null.

Throws

Constructors

Link copied to clipboard
constructor(host: String, cause: Throwable?)
constructor(host: String)

Creates the failure without a cause.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The host name that did not resolve.

Link copied to clipboard
open val message: String?