#[derive(Debug)]
pub enum PathPlannerError {
NoPathFound, GoalFailure, NoValidPointFound, KdTreeError(String),
Other(String),
}
#[derive(Debug)]
pub enum GeometryError {
InvalidPolygon }
impl From<kdtree::ErrorKind> for PathPlannerError {
fn from(error: kdtree::ErrorKind) -> Self {
PathPlannerError::KdTreeError(error.to_string())
}
}