use crate::MotionError;
#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
pub enum MotionBindingError<S> {
#[error("motion binding has no target for state {0:?}")]
MissingTarget(S),
#[error("motion binding has no transition from {from:?} to {to:?}")]
MissingTransition {
from: S,
to: S,
},
#[error(transparent)]
Motion(#[from] MotionError),
}