pub enum DependabotUpdateAlertError {
Status400(BasicError),
Status403(BasicError),
Status404(BasicError),
Status409(BasicError),
Status422(ValidationErrorSimple),
Generic {
code: u16,
},
}Expand description
Errors for the Update a Dependabot alert endpoint.
Variants§
Status400(BasicError)
Status403(BasicError)
Status404(BasicError)
Status409(BasicError)
Status422(ValidationErrorSimple)
Generic
Trait Implementations§
Source§impl Debug for DependabotUpdateAlertError
impl Debug for DependabotUpdateAlertError
Source§impl Display for DependabotUpdateAlertError
impl Display for DependabotUpdateAlertError
Source§impl Error for DependabotUpdateAlertError
impl Error for DependabotUpdateAlertError
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 From<DependabotUpdateAlertError> for AdapterError
impl From<DependabotUpdateAlertError> for AdapterError
Source§fn from(err: DependabotUpdateAlertError) -> Self
fn from(err: DependabotUpdateAlertError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DependabotUpdateAlertError
impl RefUnwindSafe for DependabotUpdateAlertError
impl Send for DependabotUpdateAlertError
impl Sync for DependabotUpdateAlertError
impl Unpin for DependabotUpdateAlertError
impl UnwindSafe for DependabotUpdateAlertError
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