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