flow_graph/
error.rs

1use crate::PortIndex;
2
3#[derive(thiserror::Error, Debug, Clone, PartialEq)]
4#[non_exhaustive]
5pub enum Error {
6  #[error("Invalid port index '{0}'")]
7  InvalidPortIndex(PortIndex),
8  #[error("Too many connections to input port '{0}'")]
9  MultipleInputConnections(String),
10}