pub enum GetBotsError {
BadRequest(String),
InternalFailure(String),
LimitExceeded(String),
NotFound(String),
}Expand description
Errors returned by GetBots
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.
InternalFailure(String)
An internal Amazon Lex error occurred. Try your request again.
LimitExceeded(String)
The request exceeded a limit. Try your request again.
NotFound(String)
The resource specified in the request was not found. Check the resource and try again.
Implementations§
Source§impl GetBotsError
impl GetBotsError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetBotsError>
Trait Implementations§
Source§impl Debug for GetBotsError
impl Debug for GetBotsError
Source§impl Display for GetBotsError
impl Display for GetBotsError
Source§impl Error for GetBotsError
impl Error for GetBotsError
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 GetBotsError
impl PartialEq for GetBotsError
impl StructuralPartialEq for GetBotsError
Auto Trait Implementations§
impl Freeze for GetBotsError
impl RefUnwindSafe for GetBotsError
impl Send for GetBotsError
impl Sync for GetBotsError
impl Unpin for GetBotsError
impl UnwindSafe for GetBotsError
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