zerolaunch_plugin_api/config/
error.rs1#[derive(Debug, thiserror::Error)]
3pub enum ConfigError {
4 #[error("Component not found: {0}")]
5 NotFound(String),
6
7 #[error("{0}")]
10 ValidationFailed(String),
11
12 #[error("Invalid setting value for key '{key}': {message}")]
13 InvalidValue { key: String, message: String },
14
15 #[error("{0}")]
17 ApplyFailed(String),
18
19 #[error("Persistence error: {0}")]
20 PersistenceError(#[from] std::io::Error),
21
22 #[error("Serialization error: {0}")]
23 SerializationError(#[from] serde_json::Error),
24}