pub enum AdaptiveError {
InvalidConfig(String),
NotFound(String),
Storage(String),
Serialization(Error),
Internal(String),
RegistrationFailed(String),
ChannelClosed(String),
}Expand description
The error type for all nemo-flow-adaptive operations.
Variants§
InvalidConfig(String)
Configuration validation failed.
NotFound(String)
The requested resource was not found.
Storage(String)
A storage operation failed.
Serialization(Error)
A serialization or deserialization error.
Internal(String)
An internal error (e.g., lock poisoning).
RegistrationFailed(String)
A registration with the NeMo Flow runtime failed.
ChannelClosed(String)
The internal telemetry channel was closed unexpectedly.
Trait Implementations§
Source§impl Debug for AdaptiveError
impl Debug for AdaptiveError
Source§impl Display for AdaptiveError
impl Display for AdaptiveError
Source§impl Error for AdaptiveError
impl Error for AdaptiveError
1.30.0 · 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 AdaptiveError
impl From<Error> for AdaptiveError
Source§impl From<PluginError> for AdaptiveError
impl From<PluginError> for AdaptiveError
Source§fn from(value: PluginError) -> Self
fn from(value: PluginError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdaptiveError
impl !RefUnwindSafe for AdaptiveError
impl Send for AdaptiveError
impl Sync for AdaptiveError
impl Unpin for AdaptiveError
impl UnsafeUnpin for AdaptiveError
impl !UnwindSafe for AdaptiveError
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