LLDB mainline
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
lldb_private::CloneableECError Class Reference

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

#include <Status.h>

Inheritance diagram for lldb_private::CloneableECError:
Inheritance graph
[legend]

Public Member Functions

std::error_code convertToErrorCode () const override
 
void log (llvm::raw_ostream &OS) const override
 
lldb::ErrorType GetErrorType () 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 45 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 56 of file Status.h.

Member Function Documentation

◆ convertToErrorCode()

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

Definition at line 49 of file Status.h.

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 50 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 57 of file Status.h.

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

◆ ID

char CloneableECError::ID
static

Definition at line 52 of file Status.h.


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