pub enum PutBotError {
BadRequest(String),
Conflict(String),
InternalFailure(String),
LimitExceeded(String),
PreconditionFailed(String),
}Expand description
Errors returned by PutBot
Variants§
BadRequest(String)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.
Conflict(String)
There was a conflict processing the request. Try your request again.
InternalFailure(String)
An internal Amazon Lex error occurred. Try your request again.
LimitExceeded(String)
The request exceeded a limit. Try your request again.
PreconditionFailed(String)
The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.
Implementations§
Source§impl PutBotError
impl PutBotError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<PutBotError>
Trait Implementations§
Source§impl Debug for PutBotError
impl Debug for PutBotError
Source§impl Display for PutBotError
impl Display for PutBotError
Source§impl Error for PutBotError
impl Error for PutBotError
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 PutBotError
impl PartialEq for PutBotError
impl StructuralPartialEq for PutBotError
Auto Trait Implementations§
impl Freeze for PutBotError
impl RefUnwindSafe for PutBotError
impl Send for PutBotError
impl Sync for PutBotError
impl Unpin for PutBotError
impl UnwindSafe for PutBotError
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