class ErrorInfo
Declaration
template <typename ThisErrT,
typename ParentErrT = llvm::ErrorInfoBase>
class ErrorInfo { /* full declaration omitted */ };
Description
Base class for user error types. Users should declare their error types like: class MyError : public ErrorInfo <MyError > { .... }; This class provides an implementation of the ErrorInfoBase::kind method, which is used by the Error RTTI system.
Declared at: llvm/include/llvm/Support/Error.h:344
Templates
- ThisErrT
- ParentErrT = llvm::ErrorInfoBase
Method Overview
- public static const void * classID()
- public const void * dynamicClassID() const
- public bool isA(const void *const ClassID) const
Methods
¶static const void* classID()
static const void* classID()
Declared at: llvm/include/llvm/Support/Error.h:348
¶const void* dynamicClassID() const
const void* dynamicClassID() const
Declared at: llvm/include/llvm/Support/Error.h:350
¶bool isA(const void* const ClassID) const
bool isA(const void* const ClassID) const
Declared at: llvm/include/llvm/Support/Error.h:352
Parameters
- const void* const ClassID