pub enum ForgeError {
}Expand description
Main error type for Forge operations
Variants§
Config(String)
Configuration error during builder setup
Nomad(String)
Nomad API communication failure
Storage(String)
Storage backend failure (RocksDB or etcd)
Network(String)
Networking failure (QUIC, HTTP, gRPC)
Consensus(String)
Consensus/Raft failure
Routing(String)
MoE routing failure
Job(String)
Job submission or management failure
Autoscaler(String)
Autoscaling decision failure
Metrics(String)
Metrics collection or export failure
Runtime(String)
Runtime not initialized or already stopped
Io(Error)
Generic IO error
Serialization(Error)
Serialization/deserialization error
Internal(String)
Internal error (should not occur in normal operation)
Implementations§
Source§impl ForgeError
impl ForgeError
Trait Implementations§
Source§impl Debug for ForgeError
impl Debug for ForgeError
Source§impl Display for ForgeError
impl Display for ForgeError
Source§impl Error for ForgeError
impl Error for ForgeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Auto Trait Implementations§
impl Freeze for ForgeError
impl !RefUnwindSafe for ForgeError
impl Send for ForgeError
impl Sync for ForgeError
impl Unpin for ForgeError
impl !UnwindSafe for ForgeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.