use thiserror::Error;
pub type Result<T> = core::result::Result<T, LWGeomError>;
#[derive(Debug, Error)]
pub enum LWGeomError {
#[error("Fail to convert to CString")]
CStringError(#[from] std::ffi::NulError),
#[error("The ptr should not be null")]
NullPtrError,
}