Enum rune::IrErrorKind [−][src]
pub enum IrErrorKind {}Show 19 variants
Custom { message: &'static str, }, ScopeError { error: ScopeErrorKind, }, AccessError { error: AccessError, }, QueryError { error: Box<QueryErrorKind>, }, ResolveError { error: ResolveErrorKind, }, NotConst, ConstCycle, UnsupportedMeta { meta: CompileMeta, }, Expected { expected: TypeInfo, actual: TypeInfo, }, BudgetExceeded, IntegerUnderflow, MissingIndex { index: usize, }, MissingField { field: Box<str>, }, MissingLocal { name: Box<str>, }, MissingConst { name: Box<str>, }, BreakOutsideOfLoop, FnNotFound, ArgumentCountMismatch { actual: usize, expected: usize, }, NotInteger { value: BigInt, },
Expand description
Error when encoding AST.
Variants
Fields of Custom
message: &'static str
A scope error.
Fields of ScopeError
error: ScopeErrorKind
The kind of the scope error.
An access error raised during compilation.
Fields of AccessError
error: AccessError
The source error.
An access error raised during queries.
Fields of QueryError
error: Box<QueryErrorKind>
The source error.
Fields of ResolveError
error: ResolveErrorKind
Encountered an expression that is not supported as a constant expression.
Trying to process a cycle of constants.
Encountered a compile meta used in an inappropriate position.
Fields of UnsupportedMeta
meta: CompileMeta
Unsupported compile meta.
A constant evaluation errored.
Exceeded evaluation budget.
Integer underflow.
Missing a tuple index.
Fields of MissingIndex
index: usize
The index that was missing.
Missing an object field.
Missing local with the given name.
Missing const or local with the given name.
Error raised when trying to use a break outside of a loop.
Fields of NotInteger
value: BigInt
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.