1use thiserror::Error; 2 3#[derive(Error, Debug)] 4pub enum Error { 5 #[error("Couldn't create directory: {0}")] 6 CreateDirectory(#[from] std::io::Error), 7 #[error("Mdbx error: {0}")] 8 Mdbx(#[from] libmdbx::Error), 9}