code: private IAsyncHandler<Throwable> createPolicyErrorHandler() {
          return error -> resultHandler.handle(AsyncResultImpl.<IEngineResult> create(error));
      }
docs: Creates the handler to use when an error is detected during the processing
  of a chain.