You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fs.rs
    path of file: ./repos/foundry/crates/common/src/errors
    
    the code of the file until where you have to start completion: use std::{
    io,
    path::{Path, PathBuf},
};

/// Various error variants for `std::fs` operations that serve as an addition to the io::Error which
/// does not provide any information about the path.
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
pub enum FsPathError {
    /// Provides additio
    
    fn from(value: FsPathError) -> Self {
        match value {
            FsPathError::Write { source, .. } |
            FsPathError::Read { source, .. } |
            FsPathError::ReadLink { source, .. } |
            FsPathError::Copy { source, .. } |
            FsPathError::CreateDir { source, .. } |
            FsPathError::RemoveDir { source, .. } |
            FsPathError::CreateFile { source, .. } |
            FsPathError::RemoveFile { source, .. } |
            FsPathError::Open { source, .. } => source,

            FsPathError::ReadJson { source, .. } | FsPathError::WriteJson { source, .. } => {
                source.into()
            }
        }
    }