llvm::CGDataError

Typed error carrying a cgdata_error code and optional message.

Synopsis

Declared in <llvm/CGData/CodeGenData.h>

class CGDataError
    : public ErrorInfo<CGDataError>

Base Classes

NameDescription
ErrorInfo<CGDataError>Base class for user error types. Users should declare their error types like:

Member Functions

NameDescription
CGDataError [constructor]Construct a CGDataError from Err and optional message ErrStr.
convertToErrorCode [virtual]Convert this error to a std::error_code.
get Return the cgdata_error enumerator for this error.
getMessage Return the optional detail message for this error.
log [virtual]Write the error message to OS.
message [virtual]Return the error message as a string.

Static Member Functions

NameDescription
classID Return the RTTI class identifier for ThisErrT.
take Consume a CGDataError from E and return its code and message.

Static Data Members

NameDescription
ID RTTI identifier used by ErrorInfo::classID.

Using Declarations

NameDescription
ErrorInfo Inherit constructors from the parent error-info type.