vertx / io.vertx.kotlin.ext.healthchecks / Status

# Status

`fun Status(data: JsonObject? = null, ok: Boolean? = null, procedureInError: Boolean? = null): Status`

A function providing a DSL for building io.vertx.ext.healthchecks.Status objects.

Represents the outcome of a health check procedure. Each procedure produces a io.vertx.ext.healthchecks.Status indicating either OK or KO. Optionally, it can also provide additional data.

### Parameters

`data` - Sets the metadata.

`ok` - Sets whether or not the current status is positive (UP) or negative (DOWN).

`procedureInError` - Sets whether or not the procedure attached to this status has failed (timeout, error...).