LLVM: llvm::BinaryStreamError Class Reference (original) (raw)

Base class for errors originating when parsing raw PDB files. More...

#include "[llvm/Support/BinaryStreamError.h](BinaryStreamError%5F8h%5Fsource.html)"

Public Member Functions
BinaryStreamError (stream_error_code C)
BinaryStreamError (StringRef Context)
BinaryStreamError (stream_error_code C, StringRef Context)
void log (raw_ostream &OS) const override
Print an error message to an output stream.
std::error_code convertToErrorCode () const override
Convert this error to a std::error_code.
StringRef getErrorMessage () const
stream_error_code getErrorCode () const
Public Member Functions inherited from llvm::ErrorInfo< BinaryStreamError >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override
Public Member Functions inherited from llvm::ErrorInfoBase
virtual ~ErrorInfoBase ()=default
virtual std::string message () const
Return the error message as a string.
template
bool isA () const
Static Public Attributes
static char ID = 0

Base class for errors originating when parsing raw PDB files.

Definition at line 28 of file BinaryStreamError.h.

BinaryStreamError() [2/3]

BinaryStreamError::BinaryStreamError ( StringRef Context) explicit

BinaryStreamError() [3/3]

convertToErrorCode()

std::error_code BinaryStreamError::convertToErrorCode ( ) const overridevirtual

getErrorCode()

getErrorMessage()

StringRef BinaryStreamError::getErrorMessage ( ) const

log()

void BinaryStreamError::log ( raw_ostream & OS) const overridevirtual

ID

char BinaryStreamError::ID = 0 static

The documentation for this class was generated from the following files: