Lines Matching defs:handleErrors
122 /// handleErrors or handleAllErrors function with a typed handler. E.g.:
133 /// handleErrors(E,
149 /// The handleAllErrors function is identical to handleErrors, except
159 // to add to the error list. It can't rely on handleErrors for this, since
160 // handleErrors does not support ErrorList handlers.
163 // handleErrors needs to be able to set the Checked flag.
165 friend Error handleErrors(Error E, HandlerTs &&... Handlers);
360 // handleErrors needs to be able to iterate the payload list of an
363 friend Error handleErrors(Error E, HandlerTs &&... Handlers);
901 Error handleErrors(Error E, HandlerTs &&... Hs) {
920 /// Behaves the same as handleErrors, except that by contract all errors
925 cantFail(handleErrors(std::move(E), std::forward<HandlerTs>(Handlers)...));
937 /// is a failure value then it the contained error is passed to handleErrors.
938 /// If handleErrors is able to handle the error then the RecoveryPath functor
939 /// is called to supply the final result. If handleErrors is not able to
964 if (auto Err = handleErrors(ValOrErr.takeError(),