Enum podcast_api::Error [−][src]
pub enum Error {
AuthenticationError,
ApiConnectionError,
InvalidRequestError,
RateLimitError,
NotFoundError,
ListenApiError,
Reqwest(Error),
Json(Error),
}Expand description
Error for API calls from Client.
Variants
Wrong api key or your account is suspended.
Fail to connect to API servers.
Something wrong on your end (client side errors), e.g., missing required parameters.
You are using FREE plan and you exceed the quota limit.
Endpoint not exist, or podcast / episode not exist.
Something wrong on our end (unexpected server errors).
Reqwest(Error)Error from http client.
Tuple Fields of Reqwest
0: ErrorJson(Error)Error from JSON creation/processing.
Tuple Fields of Json
0: ErrorTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more