This class models an LSP error as an llvm::Error.
More...
#include "mlir/Tools/lsp-server-support/Protocol.h"
This class models an LSP error as an llvm::Error.
Definition at line 75 of file Protocol.h.
◆ LSPError()
mlir::lsp::LSPError::LSPError |
( |
std::string |
message, |
|
|
ErrorCode |
code |
|
) |
| |
|
inline |
◆ convertToErrorCode()
std::error_code mlir::lsp::LSPError::convertToErrorCode |
( |
| ) |
const |
|
inlineoverride |
◆ log()
void mlir::lsp::LSPError::log |
( |
raw_ostream & |
os | ) |
const |
|
inlineoverride |
◆ code
◆ ID
◆ message
std::string mlir::lsp::LSPError::message |
The documentation for this class was generated from the following files: