pub enum ErrorCode {
Show 35 variants
E001_UndefinedEntity,
E002_UndefinedResource,
E003_UnitMismatch,
E004_TypeMismatch,
E005_SyntaxError,
E006_InvalidExpression,
E007_DuplicateDeclaration,
E008_UndefinedVariable,
E009_InvalidQuantity,
E010_InvalidIdentifier,
E100_IncompatibleTypes,
E101_InvalidTypeConversion,
E102_TypeInferenceFailed,
E103_InvalidOperandType,
E104_InvalidComparisonType,
E200_DimensionMismatch,
E201_InvalidUnit,
E202_UnitConversionFailed,
E203_IncompatibleDimensions,
E300_VariableNotInScope,
E301_UndefinedReference,
E302_CircularReference,
E303_InvalidReference,
E400_PolicyEvaluationFailed,
E401_InvalidPolicyExpression,
E402_DeterminismViolation,
E403_InvalidModality,
E500_NamespaceNotFound,
E501_AmbiguousNamespace,
E502_InvalidNamespace,
E503_ModuleNotFound,
E504_SymbolNotExported,
E505_CircularDependency,
E506_AmbiguousImport,
E507_InvalidExport,
}Expand description
Error codes for all validation errors
Variants§
E001_UndefinedEntity
E002_UndefinedResource
E003_UnitMismatch
E004_TypeMismatch
E005_SyntaxError
E006_InvalidExpression
E007_DuplicateDeclaration
E008_UndefinedVariable
E009_InvalidQuantity
E010_InvalidIdentifier
E100_IncompatibleTypes
E101_InvalidTypeConversion
E102_TypeInferenceFailed
E103_InvalidOperandType
E104_InvalidComparisonType
E200_DimensionMismatch
E201_InvalidUnit
E202_UnitConversionFailed
E203_IncompatibleDimensions
E300_VariableNotInScope
E301_UndefinedReference
E302_CircularReference
E303_InvalidReference
E400_PolicyEvaluationFailed
E401_InvalidPolicyExpression
E402_DeterminismViolation
E403_InvalidModality
E500_NamespaceNotFound
E501_AmbiguousNamespace
E502_InvalidNamespace
E503_ModuleNotFound
E504_SymbolNotExported
E505_CircularDependency
E506_AmbiguousImport
E507_InvalidExport
Implementations§
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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.