diff --git a/src/error.rs b/src/error.rs index 4907ba5..670ce0a 100644 --- a/src/error.rs +++ b/src/error.rs @@ -2,8 +2,8 @@ use core::fmt; use thiserror::Error; +/// Generic errors for WKT writing and reading #[derive(Error, Debug)] -/// WKT to [`geo_types`] conversions errors pub enum Error { #[error("Only 2D input is supported when writing Rect to WKT.")] RectUnsupportedDimension,