pub enum SlackClientError {
HttpClientError(HttpClientError),
JsonError(Error),
Error(String),
}
Expand description
Represents errors that can occur during interactions with the Slack API.
Variants§
HttpClientError(HttpClientError)
Error related to HTTP client operations.
JsonError(Error)
Error related to JSON deserialization.
Error(String)
Generic error with a descriptive string.
Trait Implementations§
Source§impl Debug for SlackClientError
impl Debug for SlackClientError
Source§impl From<Error> for SlackClientError
impl From<Error> for SlackClientError
Source§impl From<HttpClientError> for SlackClientError
impl From<HttpClientError> for SlackClientError
Source§fn from(err: HttpClientError) -> Self
fn from(err: HttpClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackClientError
impl !RefUnwindSafe for SlackClientError
impl Send for SlackClientError
impl Sync for SlackClientError
impl Unpin for SlackClientError
impl !UnwindSafe for SlackClientError
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