Skip to content

Commit dcd1fe7

Browse files
authored
Expose publicly Error, ErrorKind and Result from error module (#10)
* Expose publicly Error, ErrorKind and Result from error module * Cargo fmt
1 parent b5607ce commit dcd1fe7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### Unreleased changes
4+
5+
- Expose error type (fixes #9).
6+
37
### 0.11.0 (2023-10-06)
48

59
- Add `f32` feature to use `f32` instead of `f64` for the input values and the computations (thanks to @hakolao).

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ pub type Ring = Vec<Pt>;
7777
pub use crate::band::Band;
7878
pub use crate::contour::Contour;
7979
pub use crate::contourbuilder::ContourBuilder;
80+
pub use crate::error::{Error, ErrorKind, Result};
8081
pub use crate::isoringbuilder::contour_rings;
8182
pub use crate::line::Line;
8283

0 commit comments

Comments
 (0)