open fun exceptionHandler(handler: Handler<Throwable>): HttpConnection
Set an handler called when a connection error happens
handler - the handler
handler
Return a reference to this, so the API can be used fluently