LLDB mainline
lldb_private::CloneableECError Class Reference

Common base class for all error-code errors. More...

#include <Status.h>

Inheritance diagram for lldb_private::CloneableECError:
[legend]

Public Member Functions

std::error_code convertToErrorCode () const override
void log (llvm::raw_ostream &OS) const override
lldb::ErrorType GetErrorType () const override
virtual StructuredData::ObjectSP GetAsStructuredData () const override

Static Public Attributes

static char ID

Protected Member Functions

 CloneableECError ()=delete
 CloneableECError (std::error_code ec)

Protected Attributes

std::error_code EC

Detailed Description

Common base class for all error-code errors.

Definition at line 47 of file Status.h.

Constructor & Destructor Documentation

◆ CloneableECError() [1/2]

lldb_private::CloneableECError::CloneableECError ( )
protecteddelete

◆ CloneableECError() [2/2]

lldb_private::CloneableECError::CloneableECError ( std::error_code ec)
inlineprotected

Definition at line 59 of file Status.h.

References EC.

Member Function Documentation

◆ convertToErrorCode()

std::error_code lldb_private::CloneableECError::convertToErrorCode ( ) const
inlineoverride

Definition at line 51 of file Status.h.

References EC.

◆ GetAsStructuredData()

StructuredData::ObjectSP CloneableECError::GetAsStructuredData ( ) const
overridevirtual

Definition at line 271 of file Status.cpp.

References EC.

◆ GetErrorType()

ErrorType CloneableECError::GetErrorType ( ) const
override

Definition at line 243 of file Status.cpp.

References EC, and ErrorCodeToErrorType().

◆ log()

void lldb_private::CloneableECError::log ( llvm::raw_ostream & OS) const
inlineoverride

Definition at line 52 of file Status.h.

References EC, and lldb_private::OS.

Member Data Documentation

◆ EC

std::error_code lldb_private::CloneableECError::EC
protected

Definition at line 60 of file Status.h.

Referenced by CloneableECError(), convertToErrorCode(), GetAsStructuredData(), GetErrorType(), and log().

◆ ID

char CloneableECError::ID
static

Definition at line 55 of file Status.h.


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