Enum stripe::WebhookError
source · pub enum WebhookError {
BadKey,
BadHeader(ParseIntError),
BadSignature,
BadTimestamp(i64),
BadParse(Error),
}
Expand description
An error encountered when communicating with the Stripe API webhooks.
Variants§
Trait Implementations§
source§impl Debug for WebhookError
impl Debug for WebhookError
source§impl Display for WebhookError
impl Display for WebhookError
source§impl Error for WebhookError
impl Error for WebhookError
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 WebhookError
impl From<Error> for WebhookError
source§impl From<ParseIntError> for WebhookError
impl From<ParseIntError> for WebhookError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for WebhookError
impl Send for WebhookError
impl Sync for WebhookError
impl Unpin for WebhookError
impl !UnwindSafe for WebhookError
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