pub enum WorkflowConfigError {
Empty {
field: &'static str,
},
TooLong {
field: &'static str,
maximum: usize,
},
InvalidCharacter {
field: &'static str,
index: usize,
},
InvalidFormat {
field: &'static str,
},
Reserved {
field: &'static str,
},
DuplicateSecretName,
InvalidSigningTargets,
TooManySigningProfiles {
maximum: usize,
},
RefNamespaceOverlap,
PolicyOutOfRange {
field: &'static str,
minimum: u16,
maximum: u16,
},
}Expand description
A rejected workflow configuration field.
Errors name the field and failure class but never echo rejected input.
Variants§
Empty
A required field was empty.
TooLong
A field exceeded its byte limit.
InvalidCharacter
A byte fell outside the field allowlist.
Fields
InvalidFormat
A field did not match its required structure.
Reserved
A reserved GitHub name or namespace was selected.
DuplicateSecretName
Two signing roles referenced the same GitHub secret.
InvalidSigningTargets
Signing targets could not form one unambiguous application/profile map.
TooManySigningProfiles
More profile-bearing targets were configured than the protected worker accepts.
RefNamespaceOverlap
The temporary dispatch namespace overlaps the trusted source ref.
PolicyOutOfRange
A numeric policy value was outside its bounded range.
Trait Implementations§
Source§impl Clone for WorkflowConfigError
impl Clone for WorkflowConfigError
impl Copy for WorkflowConfigError
Source§impl Debug for WorkflowConfigError
impl Debug for WorkflowConfigError
Source§impl Display for WorkflowConfigError
impl Display for WorkflowConfigError
impl Eq for WorkflowConfigError
Source§impl Error for WorkflowConfigError
impl Error for WorkflowConfigError
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 WorkflowConfigError
impl PartialEq for WorkflowConfigError
impl StructuralPartialEq for WorkflowConfigError
Auto Trait Implementations§
impl Freeze for WorkflowConfigError
impl RefUnwindSafe for WorkflowConfigError
impl Send for WorkflowConfigError
impl Sync for WorkflowConfigError
impl Unpin for WorkflowConfigError
impl UnsafeUnpin for WorkflowConfigError
impl UnwindSafe for WorkflowConfigError
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.