pub enum RegisterThingError {
ConflictingResourceUpdate(String),
InternalFailure(String),
InvalidRequest(String),
ResourceRegistrationFailure(String),
ServiceUnavailable(String),
Throttling(String),
Unauthorized(String),
}Expand description
Errors returned by RegisterThing
Variants§
ConflictingResourceUpdate(String)
A conflicting resource update exception. This exception is thrown when two pending updates cause a conflict.
InternalFailure(String)
An unexpected error has occurred.
InvalidRequest(String)
The request is not valid.
ResourceRegistrationFailure(String)
The resource registration failed.
The service is temporarily unavailable.
Throttling(String)
The rate exceeds the limit.
You are not authorized to perform this operation.
Implementations§
Source§impl RegisterThingError
impl RegisterThingError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<RegisterThingError>
Trait Implementations§
Source§impl Debug for RegisterThingError
impl Debug for RegisterThingError
Source§impl Display for RegisterThingError
impl Display for RegisterThingError
Source§impl Error for RegisterThingError
impl Error for RegisterThingError
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 RegisterThingError
impl PartialEq for RegisterThingError
impl StructuralPartialEq for RegisterThingError
Auto Trait Implementations§
impl Freeze for RegisterThingError
impl RefUnwindSafe for RegisterThingError
impl Send for RegisterThingError
impl Sync for RegisterThingError
impl Unpin for RegisterThingError
impl UnwindSafe for RegisterThingError
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