Enum fluent_syntax::parser::errors::ErrorKind [−][src]
pub enum ErrorKind {
Generic,
ExpectedEntry,
ExpectedToken {
token: char,
},
ExpectedCharRange {
range: String,
},
ExpectedMessageField {
entry_id: String,
},
ExpectedTermField {
entry_id: String,
},
ForbiddenWhitespace,
ForbiddenCallee,
ForbiddenKey,
MissingDefaultVariant,
MissingVariants,
MissingValue,
MissingVariantKey,
MissingLiteral,
MultipleDefaultVariants,
MessageReferenceAsSelector,
VariantAsSelector,
MessageAttributeAsSelector,
TermAttributeAsSelector,
UnterminatedStringExpression,
}Variants
GenericExpectedEntryExpectedTokenFields of ExpectedToken
token: char |
ExpectedCharRangeFields of ExpectedCharRange
range: String |
ExpectedMessageFieldFields of ExpectedMessageField
entry_id: String |
ExpectedTermFieldFields of ExpectedTermField
entry_id: String |
ForbiddenWhitespaceForbiddenCalleeForbiddenKeyMissingDefaultVariantMissingVariantsMissingValueMissingVariantKeyMissingLiteralMultipleDefaultVariantsMessageReferenceAsSelectorVariantAsSelectorMessageAttributeAsSelectorTermAttributeAsSelectorUnterminatedStringExpression
Trait Implementations
impl Debug for ErrorKind[src]
impl Debug for ErrorKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ErrorKind[src]
impl PartialEq for ErrorKind