pub enum UrbitAPIError {
Show 27 variants
FailedToLogin,
FailedToCreateNewChannel,
FailedToCreateNewSubscription,
FailedToFetchKeys,
FailedToFetchTags,
FailedToSendChatMessage(String),
FailedToGetUpdateLog(String),
FailedToGetGraph(String),
FailedToGetGraphNode(String),
FailedToArchiveGraph(String),
FailedToAddTag(String),
FailedToRemoveTag(String),
FailedToAddNodesToGraphStore(String),
FailedToRemoveNodesFromGraphStore(String),
FailedToRemoveGraphFromGraphStore(String),
FailedToCreateGraphInShip(String),
FailedToCreateGraphFromJSON,
FailedToCreateGraphNodeFromJSON,
FailedToInsertGraphNode,
InvalidNoteGraphNode(String),
InvalidLinkGraphNode(String),
InvalidNoteGraphNodeIndex(String),
FailedToCreateNote(String),
FailedToCreateComment(String),
InvalidCommentGraphNodeIndex(String),
Other(String),
ReqwestError(Error),
}
Variants§
FailedToLogin
FailedToCreateNewChannel
FailedToCreateNewSubscription
FailedToFetchKeys
FailedToFetchTags
FailedToSendChatMessage(String)
FailedToGetUpdateLog(String)
FailedToGetGraph(String)
FailedToGetGraphNode(String)
FailedToArchiveGraph(String)
FailedToAddTag(String)
FailedToRemoveTag(String)
FailedToAddNodesToGraphStore(String)
FailedToRemoveNodesFromGraphStore(String)
FailedToRemoveGraphFromGraphStore(String)
FailedToCreateGraphInShip(String)
FailedToCreateGraphFromJSON
FailedToCreateGraphNodeFromJSON
FailedToInsertGraphNode
InvalidNoteGraphNode(String)
InvalidLinkGraphNode(String)
InvalidNoteGraphNodeIndex(String)
FailedToCreateNote(String)
FailedToCreateComment(String)
InvalidCommentGraphNodeIndex(String)
Other(String)
ReqwestError(Error)
Trait Implementations§
Source§impl Debug for UrbitAPIError
impl Debug for UrbitAPIError
Source§impl Display for UrbitAPIError
impl Display for UrbitAPIError
Source§impl Error for UrbitAPIError
impl Error for UrbitAPIError
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()
Auto Trait Implementations§
impl Freeze for UrbitAPIError
impl !RefUnwindSafe for UrbitAPIError
impl Send for UrbitAPIError
impl Sync for UrbitAPIError
impl Unpin for UrbitAPIError
impl !UnwindSafe for UrbitAPIError
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