LLDB mainline
Public Member Functions | Static Public Attributes | List of all members
lldb_private::CloneableError Class Referenceabstract

Going a bit against the spirit of llvm::Error, lldb_private::Status need to store errors long-term and sometimes copy them. More...

#include <Status.h>

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

Public Member Functions

 CloneableError ()
 
virtual std::unique_ptr< CloneableErrorClone () const =0
 
virtual lldb::ErrorType GetErrorType () const =0
 

Static Public Attributes

static char ID
 

Detailed Description

Going a bit against the spirit of llvm::Error, lldb_private::Status need to store errors long-term and sometimes copy them.

This base class defines an interface for this operation.

Definition at line 34 of file Status.h.

Constructor & Destructor Documentation

◆ CloneableError()

lldb_private::CloneableError::CloneableError ( )
inline

Definition at line 38 of file Status.h.

Member Function Documentation

◆ Clone()

virtual std::unique_ptr< CloneableError > lldb_private::CloneableError::Clone ( ) const
pure virtual

Referenced by CloneError().

◆ GetErrorType()

virtual lldb::ErrorType lldb_private::CloneableError::GetErrorType ( ) const
pure virtual

Member Data Documentation

◆ ID

char CloneableError::ID
static

Definition at line 41 of file Status.h.


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