vertx / io.vertx.reactivex.core.http / HttpServer / exceptionHandler

# exceptionHandler

`open fun exceptionHandler(handler: Handler<Throwable>): HttpServer`

Set an exception handler called for socket errors happening before the HTTP connection is established, e.g during the TLS handshake.

### Parameters

`handler` - the handler to set

Return
a reference to this, so the API can be used fluently