vertx / io.vertx.core.dns / DnsException

DnsException

class DnsException : Exception

Exception which is used to notify the io.vertx.core.AsyncResult if the DNS query returns a DnsResponseCode which indicates and error.

Author
Norman Maurer

Constructors

<init>

DnsException(code: DnsResponseCode)

Functions

code

fun code(): DnsResponseCode

The DnsResponseCode which caused this io.vertx.core.dns.DnsException to be created.