pub enum GetAppError {
BadRequest(String),
InternalFailure(String),
NotFound(String),
Unauthorized(String),
}
Expand description
Errors returned by GetApp
Variants§
BadRequest(String)
A request contains unexpected data.
InternalFailure(String)
The service failed to perform an operation due to an internal issue.
NotFound(String)
An entity was not found during an operation.
An operation failed due to a lack of access.
Implementations§
Source§impl GetAppError
impl GetAppError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<GetAppError>
Trait Implementations§
Source§impl Debug for GetAppError
impl Debug for GetAppError
Source§impl Display for GetAppError
impl Display for GetAppError
Source§impl Error for GetAppError
impl Error for GetAppError
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 GetAppError
impl PartialEq for GetAppError
impl StructuralPartialEq for GetAppError
Auto Trait Implementations§
impl Freeze for GetAppError
impl RefUnwindSafe for GetAppError
impl Send for GetAppError
impl Sync for GetAppError
impl Unpin for GetAppError
impl UnwindSafe for GetAppError
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