llvm::handleAllErrors

handleAllErrors overloads

Synopses

Declared in <llvm/Support/Error.h>

Check that E is a non-error, then drop it. If E is an error, llvm_unreachable will be called.

void
handleAllErrors(Error E);
» more...

Like handleErrors, but requires every error to be handled.

template<typename... HandlerTs>
void
handleAllErrors(
    Error E,
    HandlerTs&&... Handlers);
» more...

Parameters

NameDescription
EError that must represent success.
HandlersCallables that must handle every ErrorInfo type present.