Enum fugle::errors::FugleError
source · pub enum FugleError {
MpscSendError,
MpscRecvError(RecvError),
SerdeJson(Error),
Tungstenite(Error),
Ureq(Box<Error>),
Reqwest(Error),
StdIO(Error),
General(ErrorResponse),
Unauthorized,
RateLimitExceeded,
ResourceNotFound,
Unknown(ErrorResponse),
}
Variants§
MpscSendError
MpscRecvError(RecvError)
SerdeJson(Error)
Tungstenite(Error)
Ureq(Box<Error>)
Reqwest(Error)
StdIO(Error)
General(ErrorResponse)
RateLimitExceeded
ResourceNotFound
Unknown(ErrorResponse)
Trait Implementations§
source§impl Debug for FugleError
impl Debug for FugleError
source§impl Display for FugleError
impl Display for FugleError
source§impl Error for FugleError
impl Error for FugleError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 FugleError
impl From<Error> for FugleError
source§fn from(err: Error) -> FugleError
fn from(err: Error) -> FugleError
Converts to this type from the input type.
source§impl From<Error> for FugleError
impl From<Error> for FugleError
source§fn from(err: Error) -> FugleError
fn from(err: Error) -> FugleError
Converts to this type from the input type.
source§impl From<Error> for FugleError
impl From<Error> for FugleError
source§fn from(err: Error) -> FugleError
fn from(err: Error) -> FugleError
Converts to this type from the input type.
source§impl From<Error> for FugleError
impl From<Error> for FugleError
source§fn from(err: Error) -> FugleError
fn from(err: Error) -> FugleError
Converts to this type from the input type.
source§impl From<Error> for FugleError
impl From<Error> for FugleError
source§fn from(err: Error) -> FugleError
fn from(err: Error) -> FugleError
Converts to this type from the input type.
source§impl From<ErrorResponse> for FugleError
impl From<ErrorResponse> for FugleError
source§fn from(err: ErrorResponse) -> FugleError
fn from(err: ErrorResponse) -> FugleError
Converts to this type from the input type.
source§impl From<RecvError> for FugleError
impl From<RecvError> for FugleError
source§fn from(err: RecvError) -> FugleError
fn from(err: RecvError) -> FugleError
Converts to this type from the input type.