use crate::traits::MonopartiteGraph;
#[derive(Debug, thiserror::Error, Clone, PartialEq, Eq)]
pub enum IllegalMonopartiteGraphState<G: MonopartiteGraph + ?Sized> {
#[error(
"The maximal number of nodes of the graph {number_of_nodes} is larger than the number of nodes that can be represented by the graph's node ID type."
)]
TooManyNodes {
number_of_nodes: usize,
},
#[error("PhantomPlaceholder")]
PhantomPlaceholder(core::marker::PhantomData<G>),
}