errorHandler.run(BlockExecutor)
saves you from atry/catch
block or twotry { doSomething(); } catch(Exception ex) { errorHandler.handle(ex); } // can now be written as errorHandler.run(() -> doSomething())
bindErrorCode
renamed tobind
bindErrorCodeClass
renamed tobindClass