1 2 3 4 5 6 7 8 9
//! GDAL error type. use gdal_sys::OGRwkbGeometryType; use thiserror::Error; #[derive(Error, Debug)] pub enum GdalError { #[error("Unsupported geometry type: {0}")] UnsupportedGeometryType(OGRwkbGeometryType::Type), }