reactive_graph_graph/instances/flows/
flow_instance_errors.rs

1use crate::EntityTypeId;
2use thiserror::Error;
3use uuid::Uuid;
4
5#[derive(Debug, Error)]
6pub enum CreateFlowInstanceError {
7    #[error("Can't get the wrapper entity {0}")]
8    CantGetWrapperEntity(Uuid),
9}
10
11#[derive(Debug, Error)]
12pub enum InvalidFlowInstanceError {
13    #[error("Flow instance is invalid because the entity type {0} does not exist")]
14    EntityTypeDoesNotExist(EntityTypeId),
15}