LLDB mainline
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:
[legend]

Public Member Functions

 CloneableError ()
virtual std::unique_ptr< CloneableErrorClone () const =0
virtual lldb::ErrorType GetErrorType () const =0
virtual StructuredData::ObjectSP GetAsStructuredData () 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 35 of file Status.h.

Constructor & Destructor Documentation

◆ CloneableError()

lldb_private::CloneableError::CloneableError ( )
inline

Definition at line 39 of file Status.h.

Member Function Documentation

◆ Clone()

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

◆ GetAsStructuredData()

virtual StructuredData::ObjectSP lldb_private::CloneableError::GetAsStructuredData ( ) const
pure virtual

◆ GetErrorType()

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

Member Data Documentation

◆ ID

char CloneableError::ID
static

Definition at line 43 of file Status.h.


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