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

Fields of ExpectedToken

Fields of ExpectedCharRange

Fields of ExpectedMessageField

Fields of ExpectedTermField

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ErrorKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for ErrorKind

impl Sync for ErrorKind