pub enum DeleteStackError {
CloudFormationApi(Box<dyn Error>),
Failure(StackFailure),
Warning(StackWarning),
}
Expand description
Errors emitted by a delete_stack
operation.
Variants§
CloudFormationApi(Box<dyn Error>)
A CloudFormation API error occurred.
This is likely to be due to invalid input parameters or missing CloudFormation permissions. The inner error should have a descriptive message.
Note: the inner error will always be some variant of SdkError
, but since they are
generic over the type of service errors we either need a variant per API used, or Box
. If
you do need to programmatically match a particular API error you can use Box::downcast
.
Failure(StackFailure)
The delete stack operation failed.
Warning(StackWarning)
The delete stack operation succeeded with warnings.
Trait Implementations§
source§impl Debug for DeleteStackError
impl Debug for DeleteStackError
source§impl Display for DeleteStackError
impl Display for DeleteStackError
source§impl Error for DeleteStackError
impl Error for DeleteStackError
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()
Auto Trait Implementations§
impl Freeze for DeleteStackError
impl !RefUnwindSafe for DeleteStackError
impl !Send for DeleteStackError
impl !Sync for DeleteStackError
impl Unpin for DeleteStackError
impl !UnwindSafe for DeleteStackError
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Creates a shared type from an unshared type.