[#llvm-ErrorInfoBase] = xref:llvm.adoc[llvm]::ErrorInfoBase :relfileprefix: ../ :mrdocs: Base class for error info classes. Do not extend this directly: Extend the ErrorInfo template subclass instead. == Synopsis Declared in `<llvm/Support/Error.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ErrorInfoBase; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/ErrorInfoBase/2destructor.adoc[`~ErrorInfoBase`] [.small]#[destructor]# [.small]#[virtual]# | Destroy error info. | xref:llvm/ErrorInfoBase/convertToErrorCode.adoc[`convertToErrorCode`] [.small]#[virtual]# | Convert this error to a std::error_code. | xref:llvm/ErrorInfoBase/dynamicClassID.adoc[`dynamicClassID`] [.small]#[virtual]# | Return the class ID for the dynamic type of this ErrorInfoBase instance. | xref:llvm/ErrorInfoBase/isA-0d.adoc[`isA`] | `isA` overloads | xref:llvm/ErrorInfoBase/log.adoc[`log`] [.small]#[virtual]# | Print an error message to an output stream. | xref:llvm/ErrorInfoBase/message.adoc[`message`] [.small]#[virtual]# | Return the error message as a string. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/ErrorInfoBase/classID.adoc[`classID`] | Return the class ID for this error info type. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#