Update verification_key.rs

This commit is contained in:
Collin Chin 2021-04-05 21:01:49 -07:00 committed by GitHub
parent 2578be4287
commit 8396014e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,18 +21,11 @@ pub enum VerificationKeyFileError {
#[error("{}: {}", _0, _1)]
Crate(&'static str, String),
// #[error("creating: {}", _0)]
// Creating(io::Error),
#[error("Cannot read from the provided file path - {:?}", _0)]
FileReadError(PathBuf),
#[error("Cannot remove the provided file - {:?}", _0)]
FileRemovalError(PathBuf),
// #[error("Verification key file was corrupted")]
// IncorrectVerificationKey,
// #[error("writing: {}", _0)]
// Writing(io::Error),
}
impl From<std::io::Error> for VerificationKeyFileError {