Special ErrorInfo subclass representing a list of ErrorInfos. Instances of this class are constructed by joinError.

Synopsis

Declared in <llvm/Support/Error.h>

class ErrorList final
    : public ErrorInfo<ErrorList>

Base Classes

Name

Description

ErrorInfo<ErrorList>

Base class for user error types. Users should declare their error types like:

Member Functions

Name

Description

convertToErrorCode [virtual]

Convert this error list to a std::error_code.

log [virtual]

Write each contained error to OS.

Static Member Functions

Name

Description

classID

Return the RTTI class identifier for ThisErrT.

Static Data Members

Name

Description

ID

RTTI identifier used by ErrorInfo::classID.

Using Declarations

Name

Description

ErrorInfo

Inherit constructors from the parent error‐info type.

Friends

Name

Description

llvm::joinErrors

Concatenate errors from E1 followed by those from E2.

llvm::visitErrors

Visit all the ErrorInfo(s) contained in E by passing them to the respective handler, without consuming the error.

llvm::handleErrors

Pass ErrorInfo payloads in E to matching handlers among Handlers.

Created with MrDocs