pub enum CreateUserError {
DuplicateResource(String),
InternalService(String),
InvalidParameter(String),
InvalidRequest(String),
LimitExceeded(String),
ResourceNotFound(String),
Throttling(String),
}
Expand description
Errors returned by CreateUser
Variants§
DuplicateResource(String)
A resource with the specified name already exists.
InternalService(String)
Request processing failed due to an error or failure with the service.
InvalidParameter(String)
One or more of the specified parameters are not valid.
InvalidRequest(String)
The request is not valid.
LimitExceeded(String)
The allowed limit for the resource has been exceeded.
ResourceNotFound(String)
The specified resource was not found.
Throttling(String)
The throttling limit has been exceeded.
Implementations§
Source§impl CreateUserError
impl CreateUserError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<CreateUserError>
Trait Implementations§
Source§impl Debug for CreateUserError
impl Debug for CreateUserError
Source§impl Display for CreateUserError
impl Display for CreateUserError
Source§impl Error for CreateUserError
impl Error for CreateUserError
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 CreateUserError
impl PartialEq for CreateUserError
impl StructuralPartialEq for CreateUserError
Auto Trait Implementations§
impl Freeze for CreateUserError
impl RefUnwindSafe for CreateUserError
impl Send for CreateUserError
impl Sync for CreateUserError
impl Unpin for CreateUserError
impl UnwindSafe for CreateUserError
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