pub enum DissociatePackageError {
AccessDenied(String),
Base(String),
Conflict(String),
Internal(String),
ResourceNotFound(String),
}Expand description
Errors returned by DissociatePackage
Variants§
AccessDenied(String)
An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.
Base(String)
An error occurred while processing the request.
Conflict(String)
An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
Internal(String)
The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
ResourceNotFound(String)
An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
Implementations§
Source§impl DissociatePackageError
impl DissociatePackageError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DissociatePackageError>
Trait Implementations§
Source§impl Debug for DissociatePackageError
impl Debug for DissociatePackageError
Source§impl Display for DissociatePackageError
impl Display for DissociatePackageError
Source§impl Error for DissociatePackageError
impl Error for DissociatePackageError
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 DissociatePackageError
impl PartialEq for DissociatePackageError
impl StructuralPartialEq for DissociatePackageError
Auto Trait Implementations§
impl Freeze for DissociatePackageError
impl RefUnwindSafe for DissociatePackageError
impl Send for DissociatePackageError
impl Sync for DissociatePackageError
impl Unpin for DissociatePackageError
impl UnwindSafe for DissociatePackageError
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