#include <MCPError.h>
Definition at line 18 of file MCPError.h.
◆ MCPError()
MCPError::MCPError |
( |
std::string | message, |
|
|
int64_t | error_code = kInternalError ) |
◆ convertToErrorCode()
std::error_code MCPError::convertToErrorCode |
( |
| ) |
const |
|
override |
◆ getMessage()
const std::string & lldb_protocol::mcp::MCPError::getMessage |
( |
| ) |
const |
|
inline |
◆ log()
void MCPError::log |
( |
llvm::raw_ostream & | OS | ) |
const |
|
override |
◆ toProtocolError()
◆ ID
◆ kInternalError
int64_t lldb_protocol::mcp::MCPError::kInternalError = -32603 |
|
staticconstexpr |
◆ kResourceNotFound
int64_t lldb_protocol::mcp::MCPError::kResourceNotFound = -32002 |
|
staticconstexpr |
◆ m_error_code
int64_t lldb_protocol::mcp::MCPError::m_error_code |
|
private |
◆ m_message
std::string lldb_protocol::mcp::MCPError::m_message |
|
private |
The documentation for this class was generated from the following files: