pub enum PutApprovalResultError {
ActionNotFound(String),
ApprovalAlreadyCompleted(String),
InvalidApprovalToken(String),
PipelineNotFound(String),
StageNotFound(String),
}
Expand description
Errors returned by PutApprovalResult
Variants§
ActionNotFound(String)
The specified action cannot be found.
ApprovalAlreadyCompleted(String)
The approval action has already been approved or rejected.
InvalidApprovalToken(String)
The approval request already received a response or has expired.
PipelineNotFound(String)
The pipeline was specified in an invalid format or cannot be found.
StageNotFound(String)
The stage was specified in an invalid format or cannot be found.
Implementations§
Source§impl PutApprovalResultError
impl PutApprovalResultError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PutApprovalResultError>
Trait Implementations§
Source§impl Debug for PutApprovalResultError
impl Debug for PutApprovalResultError
Source§impl Display for PutApprovalResultError
impl Display for PutApprovalResultError
Source§impl Error for PutApprovalResultError
impl Error for PutApprovalResultError
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 PutApprovalResultError
impl PartialEq for PutApprovalResultError
impl StructuralPartialEq for PutApprovalResultError
Auto Trait Implementations§
impl Freeze for PutApprovalResultError
impl RefUnwindSafe for PutApprovalResultError
impl Send for PutApprovalResultError
impl Sync for PutApprovalResultError
impl Unpin for PutApprovalResultError
impl UnwindSafe for PutApprovalResultError
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