class BinaryStreamError
Declaration
class BinaryStreamError : public ErrorInfo { /* full declaration omitted */ };
Description
Base class for errors originating when parsing raw PDB files
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:27
Inherits from: ErrorInfo
Member Variables
- public static char ID
Method Overview
- public BinaryStreamError(llvm::stream_error_code C)
- public BinaryStreamError(llvm::StringRef Context)
- public BinaryStreamError(llvm::stream_error_code C, llvm::StringRef Context)
- public std::error_code convertToErrorCode() const
- public llvm::stream_error_code getErrorCode() const
- public llvm::StringRef getErrorMessage() const
- public void log(llvm::raw_ostream & OS) const
Methods
¶BinaryStreamError(llvm::stream_error_code C)
BinaryStreamError(llvm::stream_error_code C)
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:30
Parameters
- llvm::stream_error_code C
¶BinaryStreamError(llvm::StringRef Context)
BinaryStreamError(llvm::StringRef Context)
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:31
Parameters
- llvm::StringRef Context
¶BinaryStreamError(llvm::stream_error_code C,
llvm::StringRef Context)
BinaryStreamError(llvm::stream_error_code C,
llvm::StringRef Context)
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:32
Parameters
- llvm::stream_error_code C
- llvm::StringRef Context
¶std::error_code convertToErrorCode() const
std::error_code convertToErrorCode() const
Description
Convert this error to a std::error_code. This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:35
¶llvm::stream_error_code getErrorCode() const
llvm::stream_error_code getErrorCode() const
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:39
¶llvm::StringRef getErrorMessage() const
llvm::StringRef getErrorMessage() const
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:37
¶void log(llvm::raw_ostream& OS) const
void log(llvm::raw_ostream& OS) const
Description
Print an error message to an output stream.
Declared at: llvm/include/llvm/Support/BinaryStreamError.h:34