pub enum UpdateWebhookError {
BadRequest(String),
DependentServiceFailure(String),
InternalFailure(String),
NotFound(String),
Unauthorized(String),
}
Expand description
Errors returned by UpdateWebhook
Variants§
BadRequest(String)
A request contains unexpected data.
DependentServiceFailure(String)
An operation failed because a dependent service threw an exception.
InternalFailure(String)
The service failed to perform an operation due to an internal issue.
NotFound(String)
An entity was not found during an operation.
An operation failed due to a lack of access.
Implementations§
Source§impl UpdateWebhookError
impl UpdateWebhookError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<UpdateWebhookError>
Trait Implementations§
Source§impl Debug for UpdateWebhookError
impl Debug for UpdateWebhookError
Source§impl Display for UpdateWebhookError
impl Display for UpdateWebhookError
Source§impl Error for UpdateWebhookError
impl Error for UpdateWebhookError
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 PartialEq for UpdateWebhookError
impl PartialEq for UpdateWebhookError
impl StructuralPartialEq for UpdateWebhookError
Auto Trait Implementations§
impl Freeze for UpdateWebhookError
impl RefUnwindSafe for UpdateWebhookError
impl Send for UpdateWebhookError
impl Sync for UpdateWebhookError
impl Unpin for UpdateWebhookError
impl UnwindSafe for UpdateWebhookError
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