vertx / io.vertx.core.dns / DnsResponseCode / valueOf

valueOf

static fun valueOf(responseCode: Int): DnsResponseCode

Returns the io.vertx.core.dns.DnsResponseCode that corresponds with the given responseCode.

Parameters

responseCode - the error code's id

Return
corresponding io.vertx.core.dns.DnsResponseCode