pub enum ApifyApiError {
NotFound(String),
RawError(String),
MaxTimeoutRetriesReached(u8),
MaxRateLimitRetriesReached(u8),
MaxServerFailedRetriesReached(u8),
ApiFailure(String),
MissingToken,
}
Expand description
Errors returned by Apify API
Variants§
NotFound(String)
RawError(String)
MaxTimeoutRetriesReached(u8)
MaxRateLimitRetriesReached(u8)
MaxServerFailedRetriesReached(u8)
ApiFailure(String)
Something is broken in the API or breaking change happened
MissingToken
Trait Implementations§
Source§impl Debug for ApifyApiError
impl Debug for ApifyApiError
Source§impl Display for ApifyApiError
impl Display for ApifyApiError
Source§impl Error for ApifyApiError
impl Error for ApifyApiError
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()
Source§impl From<ApifyApiError> for ApifyClientError
impl From<ApifyApiError> for ApifyClientError
Source§fn from(e: ApifyApiError) -> Self
fn from(e: ApifyApiError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApifyApiError
impl PartialEq for ApifyApiError
impl StructuralPartialEq for ApifyApiError
Auto Trait Implementations§
impl Freeze for ApifyApiError
impl RefUnwindSafe for ApifyApiError
impl Send for ApifyApiError
impl Sync for ApifyApiError
impl Unpin for ApifyApiError
impl UnwindSafe for ApifyApiError
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