Enum tree_sitter_graph::ExecutionError[][src]

pub enum ExecutionError {
Show 16 variants CannotAssignImmutableVariable(String), DuplicateAttribute(String), DuplicateEdge(String), DuplicateVariable(String), ExpectedGraphNode(String), ExpectedInteger(String), ExpectedString(String), ExpectedSyntaxNode(String), InvalidParameters(String), InvalidVariableScope(String), UndefinedCapture(String), UndefinedFunction(String), UndefinedRegexCapture(String), UndefinedEdge(String), UndefinedVariable(String), Other(Error),
}
Expand description

An error that can occur while executing a graph DSL file

Variants

CannotAssignImmutableVariable(String)

Tuple Fields of CannotAssignImmutableVariable

0: String
DuplicateAttribute(String)

Tuple Fields of DuplicateAttribute

0: String
DuplicateEdge(String)

Tuple Fields of DuplicateEdge

0: String
DuplicateVariable(String)

Tuple Fields of DuplicateVariable

0: String
ExpectedGraphNode(String)

Tuple Fields of ExpectedGraphNode

0: String
ExpectedInteger(String)

Tuple Fields of ExpectedInteger

0: String
ExpectedString(String)

Tuple Fields of ExpectedString

0: String
ExpectedSyntaxNode(String)

Tuple Fields of ExpectedSyntaxNode

0: String
InvalidParameters(String)

Tuple Fields of InvalidParameters

0: String
InvalidVariableScope(String)

Tuple Fields of InvalidVariableScope

0: String
UndefinedCapture(String)

Tuple Fields of UndefinedCapture

0: String
UndefinedFunction(String)

Tuple Fields of UndefinedFunction

0: String
UndefinedRegexCapture(String)

Tuple Fields of UndefinedRegexCapture

0: String
UndefinedEdge(String)

Tuple Fields of UndefinedEdge

0: String
UndefinedVariable(String)

Tuple Fields of UndefinedVariable

0: String
Other(Error)

Tuple Fields of Other

0: Error

Implementations

Wraps an existing std::error::Error as an execution error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.