use thiserror::Error; /// Top-level error type shared across WasmBox crates. #[derive(Debug, Error)] pub enum WasmBoxError { #[error("tool not found: {0}")] ToolNotFound(String), #[error("permission denied: {0}")] PermissionDenied(String), #[error("verification failed: {0}")] VerificationFailed(String), #[error("manifest error: {0}")] ManifestError(String), #[error("registry error: {0}")] RegistryError(String), #[error("runtime error: {0}")] RuntimeError(String), #[error("io error: {0}")] Io(#[from] std::io::Error), }