pub enum ExecutionError {
Show 28 variants
Cancelled(CancellationError),
CannotAssignImmutableVariable(String),
CannotAssignScopedVariable(String),
CannotDefineMutableScopedVariable(String),
DuplicateAttribute(String),
DuplicateEdge(String),
DuplicateVariable(String),
ExpectedGraphNode(String),
ExpectedList(String),
ExpectedBoolean(String),
ExpectedInteger(String),
ExpectedString(String),
ExpectedSyntaxNode(String),
InvalidParameters(String),
InvalidVariableScope(String),
MissingGlobalVariable(String),
RecursivelyDefinedScopedVariable(String),
RecursivelyDefinedVariable(String),
UndefinedCapture(String),
UndefinedFunction(String),
UndefinedRegexCapture(String),
UndefinedScopedVariable(String),
EmptyRegexCapture(String),
UndefinedEdge(String),
UndefinedVariable(String),
VariableScopesAlreadyForced(String),
FunctionFailed(String, String),
InContext(Context, Box<ExecutionError>),
}
Expand description
An error that can occur while executing a graph DSL file
Variants§
Cancelled(CancellationError)
CannotAssignImmutableVariable(String)
CannotAssignScopedVariable(String)
CannotDefineMutableScopedVariable(String)
DuplicateAttribute(String)
DuplicateEdge(String)
DuplicateVariable(String)
ExpectedGraphNode(String)
ExpectedList(String)
ExpectedBoolean(String)
ExpectedInteger(String)
ExpectedString(String)
ExpectedSyntaxNode(String)
InvalidParameters(String)
InvalidVariableScope(String)
MissingGlobalVariable(String)
RecursivelyDefinedScopedVariable(String)
RecursivelyDefinedVariable(String)
UndefinedCapture(String)
UndefinedFunction(String)
UndefinedRegexCapture(String)
UndefinedScopedVariable(String)
EmptyRegexCapture(String)
UndefinedEdge(String)
UndefinedVariable(String)
VariableScopesAlreadyForced(String)
FunctionFailed(String, String)
InContext(Context, Box<ExecutionError>)
Implementations§
Trait Implementations§
source§impl Debug for ExecutionError
impl Debug for ExecutionError
source§impl Display for ExecutionError
impl Display for ExecutionError
source§impl Error for ExecutionError
impl Error for ExecutionError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CancellationError> for ExecutionError
impl From<CancellationError> for ExecutionError
source§fn from(source: CancellationError) -> Self
fn from(source: CancellationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ExecutionError
impl Send for ExecutionError
impl Sync for ExecutionError
impl Unpin for ExecutionError
impl UnwindSafe for ExecutionError
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