pub enum MiniplanError {
Parse(String),
Unsupported(String),
TypeMismatch(String),
Ground(String),
SearchLimit(String),
NoPlan,
IncapablePlanner {
planner: String,
missing: String,
},
Io(Error),
InvalidPlanner(String),
InvalidHeuristic(String),
UnsupportedConditionalEffects,
}Expand description
Errors that can occur during planning operations.
Variants§
Parse(String)
Failed to parse PDDL input.
Unsupported(String)
A PDDL requirement is not supported.
TypeMismatch(String)
A type mismatch was detected.
Ground(String)
An error occurred during grounding.
SearchLimit(String)
A search limit was reached.
NoPlan
No plan was found.
IncapablePlanner
The planner cannot handle the given task.
Io(Error)
An I/O error occurred.
InvalidPlanner(String)
The planner name is not registered.
InvalidHeuristic(String)
The heuristic name is not registered.
UnsupportedConditionalEffects
Bidirectional search doesn’t support conditional effects.
Trait Implementations§
Source§impl Debug for MiniplanError
impl Debug for MiniplanError
Source§impl Display for MiniplanError
impl Display for MiniplanError
Source§impl Error for MiniplanError
impl Error for MiniplanError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MiniplanError
impl !RefUnwindSafe for MiniplanError
impl Send for MiniplanError
impl Sync for MiniplanError
impl Unpin for MiniplanError
impl UnsafeUnpin for MiniplanError
impl !UnwindSafe for MiniplanError
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
fn accept_mut(&self, v: &mut V) -> O
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more