ΒΆinline void cantFail(llvm::Error Err,
                     const char* Msg = nullptr)

Description

Report a fatal error if Err is a failure value. This function can be used to wrap calls to fallible functions ONLY when it is known that the Error will always be a success value. E.g.

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

Parameters

llvm::Error Err
const char* Msg = nullptr