1 2 3 4 5 6 7 8 9 10
use crate::file_store::errors::StoreError; /// Why writing a files destination failed. #[derive(Debug, thiserror::Error)] pub enum FilesDestinationError { #[error(transparent)] Store(#[from] StoreError), #[error("{key}: {reason}")] Write { key: String, reason: String }, }