[#llvm-ErrorInfoBase-convertToErrorCode] = xref:llvm.adoc[llvm]::xref:llvm/ErrorInfoBase.adoc[ErrorInfoBase]::convertToErrorCode :relfileprefix: ../../ :mrdocs: Convert this error to a std::error_code. == Synopsis Declared in `<llvm/Support/Error.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::error_code convertToErrorCode() const = 0; ---- == Description This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future. == Return Value A std::error_code representing this error. [.small]#Created with https://www.mrdocs.com[MrDocs]#