pub enum CreateCodeReviewError {
AccessDenied(String),
Conflict(String),
InternalServer(String),
ResourceNotFound(String),
Throttling(String),
}Expand description
Errors returned by CreateCodeReview
Variants§
AccessDenied(String)
You do not have sufficient access to perform this action.
Conflict(String)
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
InternalServer(String)
The server encountered an internal error and is unable to complete the request.
ResourceNotFound(String)
The resource specified in the request was not found.
Throttling(String)
The request was denied due to request throttling.
Implementations§
Source§impl CreateCodeReviewError
impl CreateCodeReviewError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateCodeReviewError>
Trait Implementations§
Source§impl Debug for CreateCodeReviewError
impl Debug for CreateCodeReviewError
Source§impl Display for CreateCodeReviewError
impl Display for CreateCodeReviewError
Source§impl Error for CreateCodeReviewError
impl Error for CreateCodeReviewError
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 CreateCodeReviewError
impl PartialEq for CreateCodeReviewError
impl StructuralPartialEq for CreateCodeReviewError
Auto Trait Implementations§
impl Freeze for CreateCodeReviewError
impl RefUnwindSafe for CreateCodeReviewError
impl Send for CreateCodeReviewError
impl Sync for CreateCodeReviewError
impl Unpin for CreateCodeReviewError
impl UnwindSafe for CreateCodeReviewError
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