pub enum CreateProposalError {
AccessDenied(String),
InternalServiceError(String),
InvalidRequest(String),
ResourceNotFound(String),
ResourceNotReady(String),
Throttling(String),
TooManyTags(String),
}
Expand description
Errors returned by CreateProposal
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
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. It may have been deleted or referenced inaccurately.
ResourceNotReady(String)
The requested resource exists but is not in a status that can complete the operation.
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.
TooManyTags(String)
Implementations§
Source§impl CreateProposalError
impl CreateProposalError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateProposalError>
Trait Implementations§
Source§impl Debug for CreateProposalError
impl Debug for CreateProposalError
Source§impl Display for CreateProposalError
impl Display for CreateProposalError
Source§impl Error for CreateProposalError
impl Error for CreateProposalError
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 CreateProposalError
impl PartialEq for CreateProposalError
impl StructuralPartialEq for CreateProposalError
Auto Trait Implementations§
impl Freeze for CreateProposalError
impl RefUnwindSafe for CreateProposalError
impl Send for CreateProposalError
impl Sync for CreateProposalError
impl Unpin for CreateProposalError
impl UnwindSafe for CreateProposalError
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