mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-19 01:50:32 +00:00
Add RequestFailed error code, as per spec 3.17
See https://github.com/microsoft/language-server-protocol/issues/1341
This commit is contained in:
parent
5b49745d00
commit
fb0ce25d59
1 changed files with 8 additions and 0 deletions
|
@ -135,6 +135,14 @@ pub enum ErrorCode {
|
||||||
///
|
///
|
||||||
/// @since 3.17.0
|
/// @since 3.17.0
|
||||||
ServerCancelled = -32802,
|
ServerCancelled = -32802,
|
||||||
|
|
||||||
|
/// A request failed but it was syntactically correct, e.g the
|
||||||
|
/// method name was known and the parameters were valid. The error
|
||||||
|
/// message should contain human readable information about why
|
||||||
|
/// the request failed.
|
||||||
|
///
|
||||||
|
/// @since 3.17.0
|
||||||
|
RequestFailed = -32803,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue