llvm::joinErrors

Concatenate errors. The resulting Error is unchecked, and contains the ErrorInfo(s), if any, contained in E1, followed by the ErrorInfo(s), if any, contained in E2.

Synopsis

Declared in <llvm/Support/Error.h>

Error
joinErrors(
    Error E1,
    Error E2);

Return Value

Lightweight error class with error context and mandatory checking.

Parameters

NameDescription
E1Lightweight error class with error context and mandatory checking.
E2Lightweight error class with error context and mandatory checking.