pub enum XylexApiError {
NetworkError(String),
InvalidSymbol(String),
UnexpectedError(String),
EnvAuthenticationError(String),
}Expand description
Errors related to Xylex API interactions.
Variants§
NetworkError(String)
Network connectivity issues.
InvalidSymbol(String)
Invalid symbol provided.
UnexpectedError(String)
Unexpected error occurred.
EnvAuthenticationError(String)
Authentication error due to environment settings.
Trait Implementations§
Source§impl Debug for XylexApiError
impl Debug for XylexApiError
Source§impl Display for XylexApiError
Display implementation for XylexApiError.
impl Display for XylexApiError
Display implementation for XylexApiError.
Source§impl Error for XylexApiError
Error trait implementation for XylexApiError.
impl Error for XylexApiError
Error trait implementation for XylexApiError.
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()
Auto Trait Implementations§
impl Freeze for XylexApiError
impl RefUnwindSafe for XylexApiError
impl Send for XylexApiError
impl Sync for XylexApiError
impl Unpin for XylexApiError
impl UnsafeUnpin for XylexApiError
impl UnwindSafe for XylexApiError
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