Don't use the reserved error code
This commit is contained in:
@@ -538,7 +538,7 @@ pub fn handle_formatting(
|
|||||||
let captured_stdout = String::from_utf8(output.stdout)?;
|
let captured_stdout = String::from_utf8(output.stdout)?;
|
||||||
if !output.status.success() {
|
if !output.status.success() {
|
||||||
return Err(LspError::new(
|
return Err(LspError::new(
|
||||||
gen_lsp_server::ErrorCode::ParseError as i32,
|
-32900,
|
||||||
format!(
|
format!(
|
||||||
r#"rustfmt exited with:
|
r#"rustfmt exited with:
|
||||||
Status: {}
|
Status: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user