pub enum ServerError {
ConfigLoad {
message: String,
},
ConfigValidation {
message: String,
},
ListenerBind {
address: SocketAddr,
source: Error,
},
ListenerAccept {
message: String,
},
PushReplyDisconnected {
correlation_id: u64,
},
PushReplyTimeout {
correlation_id: u64,
},
ClusterJoin {
message: String,
},
ClusterSync {
message: String,
},
ShutdownTimeout {
message: String,
},
ShutdownFlush {
message: String,
},
HealthEndpoint {
message: String,
},
}Expand description
Error taxonomy for standalone liminal server deployment failures.
Variants§
ConfigLoad
The configuration file could not be read or parsed.
ConfigValidation
The configuration file was read but failed semantic validation.
ListenerBind
The server could not bind its configured listener address.
Fields
address: SocketAddrAddress the server attempted to bind.
ListenerAccept
The server listener failed while accepting an inbound connection.
PushReplyDisconnected
A server→client push reply slot was dropped before a correlated reply
arrived — the connection closed (the prompt worker-death signal). Distinct
from Self::PushReplyTimeout so consumers can tell a worker that DIED
(fast failover) from one that is merely SLOW, by type rather than message.
PushReplyTimeout
A server→client push reply did not arrive within the awaiter’s timeout — the worker is still connected but did not reply in time.
ClusterJoin
The server could not join the configured beamr distribution cluster.
ClusterSync
Cluster state propagation through beamr distribution failed.
ShutdownTimeout
Graceful shutdown did not drain within the configured timeout.
ShutdownFlush
Durable state could not be flushed during graceful shutdown.
HealthEndpoint
The health endpoint failed to start or serve requests.
Trait Implementations§
Source§impl Debug for ServerError
impl Debug for ServerError
Source§impl Display for ServerError
impl Display for ServerError
Source§impl Error for ServerError
impl Error for ServerError
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()