pub enum GetSessionError {
BadRequest(String),
InternalFailure(String),
LimitExceeded(String),
NotFound(String),
}
Expand description
Errors returned by GetSession
Variants§
BadRequest(String)
Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.
InternalFailure(String)
Internal service error. Retry the call.
LimitExceeded(String)
Exceeded a limit.
NotFound(String)
The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.
Implementations§
Source§impl GetSessionError
impl GetSessionError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetSessionError>
Trait Implementations§
Source§impl Debug for GetSessionError
impl Debug for GetSessionError
Source§impl Display for GetSessionError
impl Display for GetSessionError
Source§impl Error for GetSessionError
impl Error for GetSessionError
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 GetSessionError
impl PartialEq for GetSessionError
impl StructuralPartialEq for GetSessionError
Auto Trait Implementations§
impl Freeze for GetSessionError
impl RefUnwindSafe for GetSessionError
impl Send for GetSessionError
impl Sync for GetSessionError
impl Unpin for GetSessionError
impl UnwindSafe for GetSessionError
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