pub enum SkybaseError {
Auth(AtprotoOAuthError),
Repo(String),
Index(String),
Storage(String),
Event(String),
Chat(String),
Config(String),
Network(Error),
Serialization(Error),
Internal(String),
}Expand description
Root error type encompassing all failure modes across the skybase library.
Variants§
Auth(AtprotoOAuthError)
Failure originating from the underlying skyauth authentication engine.
Repo(String)
Failure executing XRPC or repository operations against a PDS.
Index(String)
Failure during micro-AppView indexing or query execution.
Storage(String)
Failure during blob or media upload/download processing.
Event(String)
Failure in reactive event streaming or subscription handling.
Chat(String)
Failure communicating with the ATProto Chat (chat.bsky.convo.*) service.
Config(String)
Invalid configuration supplied to Skybase engine or client.
Network(Error)
Networking or transport failure.
Serialization(Error)
Serialization or JSON parsing failure.
Internal(String)
Internal error condition.
Trait Implementations§
Source§impl Debug for SkybaseError
impl Debug for SkybaseError
Source§impl Display for SkybaseError
impl Display for SkybaseError
Source§impl Error for SkybaseError
impl Error for SkybaseError
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<AtprotoOAuthError> for SkybaseError
impl From<AtprotoOAuthError> for SkybaseError
Source§fn from(source: AtprotoOAuthError) -> Self
fn from(source: AtprotoOAuthError) -> Self
Converts to this type from the input type.
Source§impl From<DPoPError> for SkybaseError
impl From<DPoPError> for SkybaseError
Source§impl From<Error> for SkybaseError
impl From<Error> for SkybaseError
Source§impl From<Error> for SkybaseError
impl From<Error> for SkybaseError
Auto Trait Implementations§
impl !RefUnwindSafe for SkybaseError
impl !UnwindSafe for SkybaseError
impl Forget for SkybaseError
impl Freeze for SkybaseError
impl Move for SkybaseError
impl Send for SkybaseError
impl Sync for SkybaseError
impl Unpin for SkybaseError
impl UnsafeUnpin for SkybaseError
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