mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
⬆️ rust-analyzer
This commit is contained in:
parent
3a57388d13
commit
4f55ebbd4f
122 changed files with 2885 additions and 1093 deletions
|
@ -98,7 +98,7 @@ pub struct ResponseError {
|
|||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[allow(unused)]
|
||||
#[non_exhaustive]
|
||||
pub enum ErrorCode {
|
||||
// Defined by JSON RPC:
|
||||
ParseError = -32700,
|
||||
|
@ -135,6 +135,14 @@ pub enum ErrorCode {
|
|||
///
|
||||
/// @since 3.17.0
|
||||
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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue