pub enum VoteOnProposalError {
AccessDenied(String),
IllegalAction(String),
InternalServiceError(String),
InvalidRequest(String),
ResourceNotFound(String),
Throttling(String),
}Expand description
Errors returned by VoteOnProposal
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
IllegalAction(String)
InternalServiceError(String)
The request processing has failed because of an unknown error, exception or failure.
InvalidRequest(String)
The action or operation requested is invalid. Verify that the action is typed correctly.
ResourceNotFound(String)
A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.
Throttling(String)
The request or operation could not be performed because a service is throttling requests. The most common source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is exceeded. Request a limit increase or delete unused resources if possible.
Implementations§
Source§impl VoteOnProposalError
impl VoteOnProposalError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<VoteOnProposalError>
Trait Implementations§
Source§impl Debug for VoteOnProposalError
impl Debug for VoteOnProposalError
Source§impl Display for VoteOnProposalError
impl Display for VoteOnProposalError
Source§impl Error for VoteOnProposalError
impl Error for VoteOnProposalError
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 VoteOnProposalError
impl PartialEq for VoteOnProposalError
impl StructuralPartialEq for VoteOnProposalError
Auto Trait Implementations§
impl Freeze for VoteOnProposalError
impl RefUnwindSafe for VoteOnProposalError
impl Send for VoteOnProposalError
impl Sync for VoteOnProposalError
impl Unpin for VoteOnProposalError
impl UnwindSafe for VoteOnProposalError
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