pub enum CreateRepositoryError {
InvalidParameter(String),
InvalidTagParameter(String),
LimitExceeded(String),
RepositoryAlreadyExists(String),
Server(String),
TooManyTags(String),
}Expand description
Errors returned by CreateRepository
Variants§
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
InvalidTagParameter(String)
An invalid parameter has been specified. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
LimitExceeded(String)
The operation did not succeed because it would have exceeded a service limit for your account. For more information, see Amazon ECR Service Quotas in the Amazon Elastic Container Registry User Guide.
RepositoryAlreadyExists(String)
The specified repository already exists in the specified registry.
Server(String)
These errors are usually caused by a server-side issue.
TooManyTags(String)
The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.
Implementations§
Source§impl CreateRepositoryError
impl CreateRepositoryError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateRepositoryError>
Trait Implementations§
Source§impl Debug for CreateRepositoryError
impl Debug for CreateRepositoryError
Source§impl Display for CreateRepositoryError
impl Display for CreateRepositoryError
Source§impl Error for CreateRepositoryError
impl Error for CreateRepositoryError
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 CreateRepositoryError
impl PartialEq for CreateRepositoryError
impl StructuralPartialEq for CreateRepositoryError
Auto Trait Implementations§
impl Freeze for CreateRepositoryError
impl RefUnwindSafe for CreateRepositoryError
impl Send for CreateRepositoryError
impl Sync for CreateRepositoryError
impl Unpin for CreateRepositoryError
impl UnwindSafe for CreateRepositoryError
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