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