Skip to content

Commit

Permalink
feat: Impl Clone for Error (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
AzHicham authored Oct 17, 2022
1 parent 7664e6a commit abe42d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{ffi::NulError, num::TryFromIntError};
use thiserror::Error;

/// Enum defining all possible error when manipulating OpenSlide struct
#[derive(Error, Debug)]
#[derive(Error, Debug, Clone)]
pub enum OpenSlideError {
/// FFI string conversion error
/// Integer conversion error
Expand Down

0 comments on commit abe42d0

Please sign in to comment.