Files @ 3f6d45f84e76
Branch filter:

Location: CSY/reowolf/src/runtime/error.rs

3f6d45f84e76 706 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
Christopher Esterhuyse
trivial sync reintegrated. debug improvements. more logging
use crate::common::*;

#[derive(Debug)]
pub enum EndpointError {
    MalformedMessage,
    BrokenEndpoint,
}
#[derive(Debug)]
pub enum TryRecyAnyError {
    Timeout,
    PollFailed,
    EndpointError { error: EndpointError, index: usize },
    BrokenEndpoint(usize),
}
#[derive(Debug, Clone)]
pub enum SyncError {
    Timeout,
    NotConnected,
    InconsistentProtoComponent(ProtoComponentId),
    IndistinguishableBatches([usize; 2]),
    DistributedTimeout,
}
#[derive(Debug)]
pub enum PortOpError {
    WrongPolarity,
    NotConnected,
    MultipleOpsOnPort,
    PortUnavailable,
}
#[derive(Debug, Eq, PartialEq)]
pub enum GottenError {
    NoPreviousRound,
    PortDidntGet,
    PreviousSyncFailed,
}