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 |
Base class for user error types. Users should declare their error types like: |
Member Functions
Name |
Description |
|
Convert this error list to a |
|
Write each contained error to |
Static Member Functions
Name |
Description |
Return the RTTI class identifier for |
Static Data Members
Name |
Description |
RTTI identifier used by ErrorInfo::classID. |
Using Declarations
Name |
Friends
Name |
Description |
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. |
|
Visit all the ErrorInfo(s) contained in E by passing them to the respective handler, without consuming the error. |
|
Pass the ErrorInfo(s) contained in E to their respective handlers. Any unhandled errors (or Errors returned by handlers) are re‐concatenated and returned. Because this function returns an error, its result must also be checked or returned. If you intend to handle all errors use handleAllErrors (which returns void, and will abort() on unhandled errors) instead. |
Created with MrDocs