Enum syntect::LoadingError [] [src]

pub enum LoadingError {
    WalkDir(Error),
    Io(IoError),
    ParseSyntax(ParseSyntaxError),
    ParseTheme(ParseThemeError),
    ReadSettings(SettingsError),
    BadPath,
}

Common error type used by syntax and theme loading

Variants

error finding all the files in a directory

error reading a file

a syntax file was invalid in some way

a theme file was invalid in some way

a theme's Plist syntax was invalid in some way

A path given to a method was invalid. Possibly because it didn't reference a file or wasn't UTF-8.

Trait Implementations

impl Debug for LoadingError
[src]

Formats the value using the given formatter.

impl From<SettingsError> for LoadingError
[src]

Performs the conversion.

impl From<IoError> for LoadingError
[src]

Performs the conversion.

impl From<ParseThemeError> for LoadingError
[src]

Performs the conversion.

impl From<ParseSyntaxError> for LoadingError
[src]

Performs the conversion.