gveditor_core_api/
lib.rs

1pub mod extensions;
2pub mod filesystems;
3pub mod language_servers;
4pub mod messaging;
5pub mod state;
6pub mod state_persistors;
7pub use extensions::manifest::{Manifest, ManifestErrors, ManifestExtension, ManifestInfo};
8pub use extensions::ExtensionErrors;
9pub use filesystems::FilesystemErrors;
10pub use language_servers::LanguageServer;
11pub use serde::{Deserialize, Serialize};
12pub use state::State;
13pub use tokio::sync::mpsc::Sender;
14pub use tokio::sync::Mutex;
15pub use {serde, tokio};
16
17/// Global errors enum
18#[derive(Serialize, Deserialize, Debug, Clone)]
19pub enum Errors {
20    StateNotFound,
21    Fs(FilesystemErrors),
22    Ext(ExtensionErrors),
23    BadToken,
24}