LLDB mainline
|
An error to indicate that the parameters of a Req, Resp or Evt could not be deserialized. More...
#include <JSONTransport.h>
Public Member Functions | |
InvalidParams (std::string method, std::string context) | |
void | log (llvm::raw_ostream &OS) const override |
std::error_code | convertToErrorCode () const override |
Static Public Attributes | |
static char | ID |
Private Attributes | |
std::string | m_method |
The JSONRPC remote method call. | |
std::string | m_context |
Additional context from the parsing failure, e.g. |
An error to indicate that the parameters of a Req, Resp or Evt could not be deserialized.
Definition at line 67 of file JSONTransport.h.
|
inlineexplicit |
Definition at line 71 of file JSONTransport.h.
|
override |
Definition at line 39 of file JSONTransport.cpp.
|
override |
Definition at line 35 of file JSONTransport.cpp.
References m_context, m_method, and lldb_private::OS.
|
static |
Definition at line 69 of file JSONTransport.h.
|
private |
Additional context from the parsing failure, e.g.
"missing value at (root)[1].str".
Definition at line 83 of file JSONTransport.h.
Referenced by InvalidParams(), and log().
|
private |
The JSONRPC remote method call.
Definition at line 79 of file JSONTransport.h.
Referenced by InvalidParams(), and log().