use crate::VariableId;
use thiserror::Error;
#[derive(Debug, Error, PartialEq, Eq)]
pub enum PropagaError {
#[error("domain of variable {0:?} is empty")]
DomainEmpty(VariableId),
#[error("unknown variable {0:?}")]
UnknownVariable(VariableId),
#[error("unknown propagator")]
UnknownPropagator,
}