pub fn err(err: impl Error + Send + Sync + 'static) -> Result<(), GraphError>
Returns a result meaning an error occured and the graph cannot recover.