pub enum RunnerErrorKind {
Show 13 variants
InvalidWorkflowYaml {
inner: Error,
},
TypeMismatch {
expected: String,
got: Value,
},
RequiredFieldMissing {
field_name: &'static str,
got: Value,
},
ExpressionParseError {
expression: String,
},
ExpressionNonString {
expression: String,
value: Value,
},
UnsupportedPlatform {
runs_on: String,
},
BadActionName {
action: String,
},
ActionDownloadError {
action: String,
inner: Box<dyn Error + Sync + Send + 'static>,
},
InvalidActionYaml {
action: String,
inner: Error,
},
InvalidEnvironmentVariableName {
name: String,
},
UnsupportedActionType {
action: String,
using: String,
},
UnsupportedPre {
action: String,
},
UnsupportedShell {
shell: String,
},
}Expand description
Details about an error we encountered.
Variants§
InvalidWorkflowYaml
Error parsing workflow YAML file.
TypeMismatch
We expected a certain kind of JSON value but found a different kind.
RequiredFieldMissing
A JSON object should have had a specific field but it was missing.
ExpressionParseError
Failed to parse a Github Actions expression.
ExpressionNonString
An expression occurs in a string interpolation context but produced a non-string result.
UnsupportedPlatform
An ‘runs-on’ value is not supported.
BadActionName
Failed to parse an action name.
ActionDownloadError
Failed to download the code for an action.
Fields
InvalidActionYaml
Error parsing an action’s YAML file.
InvalidEnvironmentVariableName
The workflow specified an environment variable name that’s invalid (e.g. contains =).
UnsupportedActionType
An action’s using value is not supported.
UnsupportedPre
pre is not currently supported.
UnsupportedShell
A shell type is not supported.
Trait Implementations§
Source§impl Debug for RunnerErrorKind
impl Debug for RunnerErrorKind
Source§impl Display for RunnerErrorKind
impl Display for RunnerErrorKind
Source§impl From<RunnerErrorKind> for RunnerError
impl From<RunnerErrorKind> for RunnerError
Source§fn from(k: RunnerErrorKind) -> RunnerError
fn from(k: RunnerErrorKind) -> RunnerError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RunnerErrorKind
impl !RefUnwindSafe for RunnerErrorKind
impl Send for RunnerErrorKind
impl Sync for RunnerErrorKind
impl Unpin for RunnerErrorKind
impl !UnwindSafe for RunnerErrorKind
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more