#[derive(Debug, thiserror::Error)]
pub enum PathError {
#[error("Frame is not a message")]
FrameIsNotAMessage,
#[error("Context is not a routing system")]
IncorrectActionContext,
#[error("There were no captures for path: {0}")]
FailedToCapture(String),
#[error("Unable to capture given types from path: {0}")]
DeserializationFailure(#[from] serde_json::Error),
}