Enum egs_api::api::EpicAPIError [−][src]
pub enum EpicAPIError {
InvalidCredentials,
APIError(String),
Unknown,
InvalidParams,
Server,
}Expand description
Error enum for the Epic API
Variants
Expand description
Wrong credentials
APIError(String)Expand description
API error - see the contents
Expand description
Unknown error
Expand description
Invalid parameters
Expand description
Server error
Trait Implementations
impl Debug for EpicAPIError[src]
impl Debug for EpicAPIError[src]impl Display for EpicAPIError[src]
impl Display for EpicAPIError[src]impl Error for EpicAPIError[src]
impl Error for EpicAPIError[src]fn description(&self) -> &str[src]
fn description(&self) -> &str[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]The lower-level source of this error, if any. Read more
Auto Trait Implementations
impl RefUnwindSafe for EpicAPIError
impl Send for EpicAPIError
impl Sync for EpicAPIError
impl Unpin for EpicAPIError
impl UnwindSafe for EpicAPIError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]fn instrument(self, span: Span) -> Instrumented<Self>[src]
fn instrument(self, span: Span) -> Instrumented<Self>[src]Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>[src]
fn in_current_span(self) -> Instrumented<Self>[src]impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self