Enum egs_api::api::EpicAPIError
source · pub enum EpicAPIError {
InvalidCredentials,
APIError(String),
Unknown,
InvalidParams,
Server,
}
Expand description
Error enum for the Epic API
Variants§
InvalidCredentials
Wrong credentials
APIError(String)
API error - see the contents
Unknown
Unknown error
InvalidParams
Invalid parameters
Server
Server error
Trait Implementations§
source§impl Debug for EpicAPIError
impl Debug for EpicAPIError
source§impl Display for EpicAPIError
impl Display for EpicAPIError
source§impl Error for EpicAPIError
impl Error for EpicAPIError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
Auto Trait Implementations§
impl Freeze for EpicAPIError
impl RefUnwindSafe for EpicAPIError
impl Send for EpicAPIError
impl Sync for EpicAPIError
impl Unpin for EpicAPIError
impl UnwindSafe for EpicAPIError
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