|
LLDB mainline
|
An error to indicate that an incoming message could not be parsed as a valid protocol message. More...
#include <JSONTransport.h>
Public Member Functions | |
| InvalidMessage (std::string raw_message, std::string reason) | |
| void | log (llvm::raw_ostream &OS) const override |
| std::error_code | convertToErrorCode () const override |
Static Public Attributes | |
| static char | ID |
| static constexpr int | kErrorCode = -32700 |
Private Attributes | |
| std::string | m_raw_message |
| std::string | m_reason |
An error to indicate that an incoming message could not be parsed as a valid protocol message.
Definition at line 90 of file JSONTransport.h.
|
inlineexplicit |
Definition at line 96 of file JSONTransport.h.
References m_raw_message, and m_reason.
|
override |
Definition at line 50 of file JSONTransport.cpp.
References kErrorCode.
|
override |
Definition at line 46 of file JSONTransport.cpp.
References m_raw_message, m_reason, and lldb_private::OS.
|
static |
Definition at line 92 of file JSONTransport.h.
|
staticconstexpr |
Definition at line 94 of file JSONTransport.h.
Referenced by convertToErrorCode().
|
private |
Definition at line 103 of file JSONTransport.h.
Referenced by InvalidMessage(), and log().
|
private |
Definition at line 104 of file JSONTransport.h.
Referenced by InvalidMessage(), and log().