#[non_exhaustive]
pub enum PutApprovalResultErrorKind {
ActionNotFoundException(ActionNotFoundException),
ApprovalAlreadyCompletedException(ApprovalAlreadyCompletedException),
InvalidApprovalTokenException(InvalidApprovalTokenException),
PipelineNotFoundException(PipelineNotFoundException),
StageNotFoundException(StageNotFoundException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the PutApprovalResult
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ActionNotFoundException(ActionNotFoundException)
The specified action cannot be found.
ApprovalAlreadyCompletedException(ApprovalAlreadyCompletedException)
The approval action has already been approved or rejected.
InvalidApprovalTokenException(InvalidApprovalTokenException)
The approval request already received a response or has expired.
PipelineNotFoundException(PipelineNotFoundException)
The pipeline was specified in an invalid format or cannot be found.
StageNotFoundException(StageNotFoundException)
The stage was specified in an invalid format or cannot be found.
ValidationException(ValidationException)
The validation was specified in an invalid format.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.