pub enum CreateApplicationVersionError {
BadRequest(String),
Conflict(String),
Forbidden(String),
InternalServerError(String),
TooManyRequests(String),
}
Expand description
Errors returned by CreateApplicationVersion
Variants§
BadRequest(String)
One of the parameters in the request is invalid.
Conflict(String)
The resource already exists.
Forbidden(String)
The client is not authenticated.
InternalServerError(String)
The AWS Serverless Application Repository service encountered an internal error.
TooManyRequests(String)
The client is sending more than the allowed number of requests per unit of time.
Implementations§
Trait Implementations§
Source§impl Error for CreateApplicationVersionError
impl Error for CreateApplicationVersionError
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 CreateApplicationVersionError
impl PartialEq for CreateApplicationVersionError
Source§fn eq(&self, other: &CreateApplicationVersionError) -> bool
fn eq(&self, other: &CreateApplicationVersionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateApplicationVersionError
Auto Trait Implementations§
impl Freeze for CreateApplicationVersionError
impl RefUnwindSafe for CreateApplicationVersionError
impl Send for CreateApplicationVersionError
impl Sync for CreateApplicationVersionError
impl Unpin for CreateApplicationVersionError
impl UnwindSafe for CreateApplicationVersionError
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