LLDB mainline
lldb_private::TransportUnhandledContentsError Class Reference

#include <JSONTransport.h>

Inheritance diagram for lldb_private::TransportUnhandledContentsError:
[legend]

Public Member Functions

 TransportUnhandledContentsError (std::string unhandled_contents)
void log (llvm::raw_ostream &OS) const override
std::error_code convertToErrorCode () const override
const std::string & getUnhandledContents () const

Static Public Attributes

static char ID

Private Attributes

std::string m_unhandled_contents

Detailed Description

Definition at line 35 of file JSONTransport.h.

Constructor & Destructor Documentation

◆ TransportUnhandledContentsError()

TransportUnhandledContentsError::TransportUnhandledContentsError ( std::string unhandled_contents)
explicit

Definition at line 22 of file JSONTransport.cpp.

References m_unhandled_contents.

Member Function Documentation

◆ convertToErrorCode()

std::error_code TransportUnhandledContentsError::convertToErrorCode ( ) const
override

Definition at line 30 of file JSONTransport.cpp.

◆ getUnhandledContents()

const std::string & lldb_private::TransportUnhandledContentsError::getUnhandledContents ( ) const
inline

Definition at line 45 of file JSONTransport.h.

References m_unhandled_contents.

◆ log()

void TransportUnhandledContentsError::log ( llvm::raw_ostream & OS) const
override

Definition at line 26 of file JSONTransport.cpp.

References m_unhandled_contents, and lldb_private::OS.

Member Data Documentation

◆ ID

char TransportUnhandledContentsError::ID
static

Definition at line 38 of file JSONTransport.h.

◆ m_unhandled_contents

std::string lldb_private::TransportUnhandledContentsError::m_unhandled_contents
private

Definition at line 50 of file JSONTransport.h.

Referenced by getUnhandledContents(), log(), and TransportUnhandledContentsError().


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