pub enum TweetyError {
FileIOError(String),
NetworkError(String),
AuthError,
RequestError(Error),
ApiError(String),
JsonParseError(String),
UrlParseError(ParseError),
MissingCredentials,
}
Variants§
FileIOError(String)
NetworkError(String)
AuthError
RequestError(Error)
ApiError(String)
JsonParseError(String)
UrlParseError(ParseError)
MissingCredentials
Trait Implementations§
Source§impl Debug for TweetyError
impl Debug for TweetyError
Source§impl Display for TweetyError
impl Display for TweetyError
Source§impl Error for TweetyError
impl Error for TweetyError
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 TweetyError
impl From<Error> for TweetyError
Source§fn from(err: Error) -> TweetyError
fn from(err: Error) -> TweetyError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TweetyError
impl !RefUnwindSafe for TweetyError
impl Send for TweetyError
impl Sync for TweetyError
impl Unpin for TweetyError
impl !UnwindSafe for TweetyError
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