clang-tools 22.0.0git
clang::clangd::LSPError Class Reference

#include <Protocol.h>

Inheritance diagram for clang::clangd::LSPError:
[legend]

Public Member Functions

 LSPError (std::string Message, ErrorCode Code)
void log (llvm::raw_ostream &OS) const override
std::error_code convertToErrorCode () const override

Public Attributes

std::string Message
ErrorCode Code

Static Public Attributes

static char ID

Detailed Description

Definition at line 63 of file Protocol.h.

Constructor & Destructor Documentation

◆ LSPError()

clang::clangd::LSPError::LSPError ( std::string Message,
ErrorCode Code )
inline

Definition at line 69 of file Protocol.h.

References Code, and Message.

Member Function Documentation

◆ convertToErrorCode()

std::error_code clang::clangd::LSPError::convertToErrorCode ( ) const
inlineoverride

Definition at line 75 of file Protocol.h.

◆ log()

void clang::clangd::LSPError::log ( llvm::raw_ostream & OS) const
inlineoverride

Definition at line 72 of file Protocol.h.

References Code, and Message.

Member Data Documentation

◆ Code

ErrorCode clang::clangd::LSPError::Code

Definition at line 66 of file Protocol.h.

Referenced by log(), and LSPError().

◆ ID

char clang::clangd::LSPError::ID
static

Definition at line 67 of file Protocol.h.

◆ Message

std::string clang::clangd::LSPError::Message

Definition at line 65 of file Protocol.h.

Referenced by log(), and LSPError().


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