diff --git a/src/runtime/error.rs b/src/runtime/error.rs index 7de8323c2e0d468fbcf03a6b55ef1b8dd1d0b437..8b526dad37c198333c59a79c0890956fd121aaad 100644 --- a/src/runtime/error.rs +++ b/src/runtime/error.rs @@ -12,12 +12,13 @@ pub enum TryRecyAnyError { EndpointError { error: EndpointError, index: usize }, BrokenEndpoint(usize), } -#[derive(Debug)] +#[derive(Debug, Clone)] pub enum SyncError { Timeout, NotConnected, InconsistentProtoComponent(ProtoComponentId), IndistinguishableBatches([usize; 2]), + DistributedTimeout, } #[derive(Debug)] pub enum PortOpError { @@ -26,3 +27,9 @@ pub enum PortOpError { MultipleOpsOnPort, PortUnavailable, } +#[derive(Debug, Eq, PartialEq)] +pub enum GottenError { + NoPreviousRound, + PortDidntGet, + PreviousSyncFailed, +}