diff --git a/Cargo.lock b/Cargo.lock index 5a3591e..b156848 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "lidrs" -version = "0.2.2" +version = "0.2.3" dependencies = [ "approx", "num_enum", diff --git a/Cargo.toml b/Cargo.toml index 4b76400..da8e349 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "lidrs" authors = ["Sam Morrell "] -version = "0.2.2" +version = "0.2.3" edition = "2021" license-file = "LICENSE" description = " A rust crate for reading and representing light intensity distributions via photometric webs. " diff --git a/src/err/mod.rs b/src/err/mod.rs index 2952014..ab332a4 100644 --- a/src/err/mod.rs +++ b/src/err/mod.rs @@ -11,6 +11,8 @@ pub enum Error { OperationError(Box) } +impl std::error::Error for Error {} + impl From for Error { fn from(err: std::io::Error) -> Self { Error::IOError(err)