fn map_weave_err(&self, code: ErrorCode) -> anyhow::Error {
        anyhow!(match code {
            ErrorCode::FileNotFound => "FileNotFound",
            ErrorCode::CryptoError => "CryptoError",
        })
    }
/// Returns a string mapped from the provided Weave error code.
Returns a string mapped from the provided Weave error code.
Returns a string mapped from the provided Weave error code .
fn map_weave_err(&self, code: ErrorCode) -> anyhow::Error {
        anyhow!(match code {
            ErrorCode::FileNotFound => "FileNotFound",
            ErrorCode::CryptoError => "CryptoError",
        })
    }
fn map_weave_err ( & self , code : ErrorCode ) -> anyhow :: Error { anyhow ! ( match code { ErrorCode FileNotFound " " ErrorCode CryptoError " " } ) }
Returns a string mapped from the provided Weave error code.
Returns a string mapped from the provided Weave error code .
&self
code
ErrorCode
&self
code
ErrorCode