pub struct WorkflowError {
pub file: String,
pub field: String,
pub message: String,
}Expand description
A workflow file that failed validation.
Names the file, the field (dotted, such as nodes.plan.persona or
edges[2].when) and what is wrong with it.
Fields§
§file: String§field: String§message: StringImplementations§
Trait Implementations§
Source§impl Clone for WorkflowError
impl Clone for WorkflowError
Source§impl Debug for WorkflowError
impl Debug for WorkflowError
Source§impl Display for WorkflowError
impl Display for WorkflowError
impl Eq for WorkflowError
Source§impl Error for WorkflowError
impl Error for WorkflowError
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<WorkflowError> for GraphError
impl From<WorkflowError> for GraphError
Source§fn from(source: WorkflowError) -> Self
fn from(source: WorkflowError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkflowError
impl PartialEq for WorkflowError
impl StructuralPartialEq for WorkflowError
Auto Trait Implementations§
impl Forget for WorkflowError
impl Freeze for WorkflowError
impl Move for WorkflowError
impl RefUnwindSafe for WorkflowError
impl Send for WorkflowErrorwhere
RawVecInner: Send,
impl Sync for WorkflowErrorwhere
RawVecInner: Sync,
impl Unpin for WorkflowError
impl UnsafeUnpin for WorkflowError
impl UnwindSafe for WorkflowErrorwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.