use thiserror::Error; pub type Result = std::result::Result; #[derive(Error, Debug)] pub enum Error { #[error("Unhandled error: {0}")] Static(&'static str), #[error("Unhandled error: {0}")] Generic(String), #[error(transparent)] Docker(#[from] bollard::errors::Error), }