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