From 722879956504d62a2fab8bfce223078d8060430d Mon Sep 17 00:00:00 2001 From: Matthieu Viry Date: Sat, 2 Dec 2023 17:52:43 +0100 Subject: [PATCH] Expose publicly Error, ErrorKind and Result from error module --- CHANGELOG.md | 4 ++++ src/lib.rs | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e65b5b1..be985f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## Changelog +### Unreleased changes + +- Expose error type (fixes #9). + ### 0.11.0 (2023-10-06) - Add `f32` feature to use `f32` instead of `f64` for the input values and the computations (thanks to @hakolao). diff --git a/src/lib.rs b/src/lib.rs index 39fa9cb..9af5965 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,6 +79,7 @@ pub use crate::contour::Contour; pub use crate::contourbuilder::ContourBuilder; pub use crate::isoringbuilder::contour_rings; pub use crate::line::Line; +pub use crate::error::{Error, ErrorKind, Result}; #[cfg(test)] mod tests {