pub mod app_manager; pub mod lifecycle; pub use app_manager::*; pub use lifecycle::*; use thiserror::Error; #[derive(Error, Debug)] pub enum OrchestratorError { #[error("Error de systemd: {0}")] SystemdError(#[from] crate::systemd::SystemdError), #[error("Aplicación ya existe: {0}")] AppAlreadyExists(String), #[error("Aplicación no encontrada: {0}")] AppNotFound(String), #[error("Rate limit excedido para: {0}")] RateLimitExceeded(String), #[error("Error de validación: {0}")] ValidationError(String), } pub type Result = std::result::Result;