pub enum PeerEndpointStageError {
SessionNotRegistered,
Dsl(MeerkatMachineTransitionError),
MissingReconcileEffect,
LocalEndpoint(String),
Reconcile(CommsTrustReconcileError),
InvalidEndpoint(CommsTrustReconcileError),
}Expand description
Errors raised when staging a peer-projection input against the DSL and driving the session-scoped trust reconciler (D-track-b).
Variants§
SessionNotRegistered
The session is not registered with the runtime.
Dsl(MeerkatMachineTransitionError)
The DSL mutator rejected the transition (e.g. duplicate endpoint, stale overlay epoch, or per-phase guard failure).
MissingReconcileEffect
The DSL transition committed but did not emit
CommsTrustReconcileRequested. This indicates a contract
violation between the schema and the runtime — the three
peer-projection transitions are specified to emit the effect
unconditionally.
LocalEndpoint(String)
The target runtime did not expose a complete typed local endpoint for generated trust-store ownership.
Reconcile(CommsTrustReconcileError)
The reconciler failed to mechanically reconcile the trust store.
InvalidEndpoint(CommsTrustReconcileError)
A staged PeerEndpoint carried a malformed peer_id/address/name.
Rejected at the ingress boundary (parse-at-boundary) BEFORE any machine
peer-set mutation or effect emission, so invalid identity atoms never
reach direct_peer_endpoints/mob_overlay_peer_endpoints.
Trait Implementations§
Source§impl Debug for PeerEndpointStageError
impl Debug for PeerEndpointStageError
Source§impl Display for PeerEndpointStageError
impl Display for PeerEndpointStageError
Source§impl Error for PeerEndpointStageError
impl Error for PeerEndpointStageError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()