pub enum CreateWebhookError {
InvalidInput(String),
OAuthProvider(String),
ResourceAlreadyExists(String),
ResourceNotFound(String),
}
Expand description
Errors returned by CreateWebhook
Variants§
InvalidInput(String)
The input value that was provided is not valid.
OAuthProvider(String)
There was a problem with the underlying OAuth provider.
ResourceAlreadyExists(String)
The specified AWS resource cannot be created, because an AWS resource with the same settings already exists.
ResourceNotFound(String)
The specified AWS resource cannot be found.
Implementations§
Source§impl CreateWebhookError
impl CreateWebhookError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateWebhookError>
Trait Implementations§
Source§impl Debug for CreateWebhookError
impl Debug for CreateWebhookError
Source§impl Display for CreateWebhookError
impl Display for CreateWebhookError
Source§impl Error for CreateWebhookError
impl Error for CreateWebhookError
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 CreateWebhookError
impl PartialEq for CreateWebhookError
impl StructuralPartialEq for CreateWebhookError
Auto Trait Implementations§
impl Freeze for CreateWebhookError
impl RefUnwindSafe for CreateWebhookError
impl Send for CreateWebhookError
impl Sync for CreateWebhookError
impl Unpin for CreateWebhookError
impl UnwindSafe for CreateWebhookError
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