Enum noosphere_core::error::NoosphereError
source · pub enum NoosphereError {
Other(Error),
NetworkOffline,
NoCredentials,
MissingConfiguration(&'static str),
InvalidAuthorization(Authorization, String),
UnexpectedGatewayResponse(String),
}Expand description
High-level error types relevant to the Noosphere protocol
Variants§
Other(Error)
Any error not covered by the other errors
NetworkOffline
NoCredentials
MissingConfiguration(&'static str)
InvalidAuthorization(Authorization, String)
UnexpectedGatewayResponse(String)
Trait Implementations§
source§impl Debug for NoosphereError
impl Debug for NoosphereError
source§impl Display for NoosphereError
impl Display for NoosphereError
source§impl Error for NoosphereError
impl Error for NoosphereError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 NoosphereError
impl From<Error> for NoosphereError
source§impl From<NoosphereError> for PushError
impl From<NoosphereError> for PushError
source§fn from(error: NoosphereError) -> Self
fn from(error: NoosphereError) -> Self
Converts to this type from the input type.
source§impl From<NoosphereError> for PushError
impl From<NoosphereError> for PushError
source§fn from(error: NoosphereError) -> Self
fn from(error: NoosphereError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for NoosphereError
impl Send for NoosphereError
impl Sync for NoosphereError
impl Unpin for NoosphereError
impl UnwindSafe for NoosphereError
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