Enum editeur::prelude::GraphicError [] [src]

pub enum GraphicError {
    ReadDir(Error),
    OpenFile(Error),
    ReadFile(Error),
    MkDirTexel(Error),
    MkDirSprite(Error),
    Posture(PostureError),
    Draw(DrawError),
    Emotion(EmotionError),
    Texel(TexelError),
    SpriteSplitFirst(String),
    Part(PartError),
    Sheet(SheetError),
    NekoPath,
    Glyph,
    FoundTexel(String),
    SyntaxTexel(String),
}

The enum GraphicError defines the possible errors from constructor Graphic.

Variants

Can't read the sub-directory.

Can't open the file.

Can't read the file.

Can't create the texel sub-directory.

Can't create the sprite sub-directory.

The Posture interface has meet an error.

The Draw interface has meet an error.

The Emotion interface has meet an error.

The Texel interface has meet an error.

Can't split the chunk of sprite.

The Part interface has meet an error.

The Sheet interface has meet an error.

Can't found the NEKO_PATH environement variable.

Can't found the glyph of texel.

Can't found the texel.

Unvalid texel syntax.

Trait Implementations

impl Debug for GraphicError
[src]

Formats the value using the given formatter.

impl Display for GraphicError
[src]

The function fmt formats the value using the given formatter.

impl Error for GraphicError
[src]

The function description returns a short description of the error.

The function cause returns the lower-level cause of this error if any.

impl From<VarError> for GraphicError
[src]

Performs the conversion.