#[repr(u32)]pub enum ErrorCode {
Show 40 variants
TreeSitterErrorNode = 1,
TreeSitterUnexpectedNode = 2,
TreeSitterMissingNode = 3,
TreeSitterMissingVariable = 4,
ModuleNotFound = 100,
ImportedModuleNotFound = 101,
ModuleVersionNotFound = 102,
ModuleVersionMismatch = 103,
DuplicateDefinitionName = 104,
DuplicateMemberName = 105,
DuplicateVariantName = 106,
InvalidIdentifier = 107,
InvalidLanguageTag = 108,
InvalidValueForType = 109,
InvalidModuleBaseUrl = 110,
InvalidModuleVersionUrl = 112,
DefinitionNotFound = 113,
TypeDefinitionNotFound = 114,
DatatypeInvalidBase = 115,
TypeClassIncompatible = 116,
PropertyIncompatible = 117,
RdfDefinitionIncompatible = 118,
FeatureSetNotUnion = 119,
PropertyReferenceNotProperty = 120,
LibraryDefinitionNotAllowed = 121,
DimensionParentNotEntity = 122,
SourceEntityNotEntity = 123,
SourceEntityMissingMember = 124,
DuplicateModuleImport = 301,
DuplicateDefinitionImport = 302,
ValidationIncomplete = 303,
ModuleVersionInfoEmpty = 304,
DeprecatedTermUsed = 305,
IncompleteModule = 500,
IncompleteDefinition = 501,
IncompleteMember = 502,
StringWithoutLanguage = 503,
UnconstrainedDatatype = 504,
DoubleUnderscoredIdentifier = 505,
IdentifierNotPreferredCase = 506,
}
Variants§
TreeSitterErrorNode = 1
TreeSitterUnexpectedNode = 2
TreeSitterMissingNode = 3
TreeSitterMissingVariable = 4
ModuleNotFound = 100
ImportedModuleNotFound = 101
ModuleVersionNotFound = 102
ModuleVersionMismatch = 103
DuplicateDefinitionName = 104
DuplicateMemberName = 105
DuplicateVariantName = 106
InvalidIdentifier = 107
InvalidLanguageTag = 108
InvalidValueForType = 109
InvalidModuleBaseUrl = 110
InvalidModuleVersionUrl = 112
DefinitionNotFound = 113
TypeDefinitionNotFound = 114
DatatypeInvalidBase = 115
TypeClassIncompatible = 116
PropertyIncompatible = 117
RdfDefinitionIncompatible = 118
FeatureSetNotUnion = 119
PropertyReferenceNotProperty = 120
LibraryDefinitionNotAllowed = 121
DimensionParentNotEntity = 122
SourceEntityNotEntity = 123
SourceEntityMissingMember = 124
DuplicateModuleImport = 301
DuplicateDefinitionImport = 302
ValidationIncomplete = 303
ModuleVersionInfoEmpty = 304
DeprecatedTermUsed = 305
IncompleteModule = 500
IncompleteDefinition = 501
IncompleteMember = 502
StringWithoutLanguage = 503
UnconstrainedDatatype = 504
DoubleUnderscoredIdentifier = 505
IdentifierNotPreferredCase = 506
Implementations§
Trait Implementations§
Source§impl From<ErrorCode> for Diagnostic
impl From<ErrorCode> for Diagnostic
Source§impl Ord for ErrorCode
impl Ord for ErrorCode
Source§impl PartialOrd for ErrorCode
impl PartialOrd for ErrorCode
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