pub enum GhExecutionError {
AuthenticationUnavailable,
SecretTooLarge,
SpawnFailed,
TimedOut,
ProcessIo,
OutputLimitExceeded,
CommandFailed {
exit_code: Option<i32>,
},
}Expand description
Redacted execution failure from a gh runner.
Variants§
Authentication was unavailable from the exact configured source.
SecretTooLarge
A secret value exceeded GitHub’s fixed Environment-secret limit.
SpawnFailed
The child process could not be created.
TimedOut
The child process exceeded its deadline and was terminated.
ProcessIo
Waiting for or reading the child process failed.
OutputLimitExceeded
Stdout or stderr crossed its configured cap.
CommandFailed
gh returned a non-zero status. Output is intentionally discarded.
Trait Implementations§
Source§impl Clone for GhExecutionError
impl Clone for GhExecutionError
impl Copy for GhExecutionError
Source§impl Debug for GhExecutionError
impl Debug for GhExecutionError
Source§impl Display for GhExecutionError
impl Display for GhExecutionError
impl Eq for GhExecutionError
Source§impl Error for GhExecutionError
impl Error for GhExecutionError
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<GhExecutionError> for TransportError
impl From<GhExecutionError> for TransportError
Source§fn from(value: GhExecutionError) -> Self
fn from(value: GhExecutionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GhExecutionError
impl PartialEq for GhExecutionError
impl StructuralPartialEq for GhExecutionError
Auto Trait Implementations§
impl Freeze for GhExecutionError
impl RefUnwindSafe for GhExecutionError
impl Send for GhExecutionError
impl Sync for GhExecutionError
impl Unpin for GhExecutionError
impl UnsafeUnpin for GhExecutionError
impl UnwindSafe for GhExecutionError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.