Base class for errors originating when parsing raw PDB files

Synopsis

Declared in <llvm/Support/BinaryStreamError.h>

class BinaryStreamError
    : public ErrorInfo<BinaryStreamError>

Base Classes

Name

Description

ErrorInfo<BinaryStreamError>

Base class for user error types. Users should declare their error types like:

Member Functions

Name

Description

BinaryStreamError [constructor]

Constructors

convertToErrorCode [virtual]

Convert this error to a std::error_code.

getErrorCode

Return the stream_error_code associated with this error.

getErrorMessage

Return the human‐readable message for this error.

log [virtual]

Print this error's message to an output stream.

Static Member Functions

Name

Description

classID

Return the RTTI class identifier for ThisErrT.

Static Data Members

Name

Description

ID

RTTI identifier used by ErrorInfo::classID.

Using Declarations

Name

Description

ErrorInfo

Inherit constructors from the parent error‐info type.

Created with MrDocs