fun BaseFuture.onFailure(emitter: (failedReason: String) -> Unit): Unit
Raised whenever an operation has failed
TomP2P defines failure, such that there's a connection problem. Therefore, this only fires in cases where the DHT connection
emitter - callable, when the operation has failed
emitter