mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
cli: get update endpoint from build
This commit is contained in:
@@ -316,6 +316,14 @@ impl std::fmt::Display for ServerHasClosed {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct UpdatesNotConfigured();
|
||||
|
||||
impl std::fmt::Display for UpdatesNotConfigured {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
|
||||
write!(f, "Update service is not configured")
|
||||
}
|
||||
}
|
||||
#[derive(Debug)]
|
||||
pub struct ServiceAlreadyRegistered();
|
||||
|
||||
@@ -408,7 +416,8 @@ makeAnyError!(
|
||||
CannotForwardControlPort,
|
||||
ServerHasClosed,
|
||||
ServiceAlreadyRegistered,
|
||||
WindowsNeedsElevation
|
||||
WindowsNeedsElevation,
|
||||
UpdatesNotConfigured
|
||||
);
|
||||
|
||||
impl From<reqwest::Error> for AnyError {
|
||||
|
||||
Reference in New Issue
Block a user