ΒΆtemplate <typename... HandlerTs>
void handleAllErrors(llvm::Error E,
                     HandlerTs&&... Handlers)

Description

Behaves the same as handleErrors, except that by contract all errors *must* be handled by the given handlers (i.e. there must be no remaining errors after running the handlers, or llvm_unreachable is called).

Declared at: llvm/include/llvm/Support/Error.h:924

Templates

HandlerTs

Parameters

llvm::Error E
HandlerTs&&... Handlers