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