Enum ggez::error::GameError [] [src]

pub enum GameError {
    FilesystemError(String),
    ConfigError(String),
    ResourceLoadError(String),
    ResourceNotFound(String),
    RenderError(String),
    AudioError(String),
    WindowError(WindowBuildError),
    IOError(Error),
    FontError(String),
    VideoError(String),
    UnknownError(String),
}

An enum containing all kinds of game engine error.

Variants

Trait Implementations

impl Debug for GameError
[src]

Formats the value using the given formatter.

impl Display for GameError
[src]

Formats the value using the given formatter.

impl From<String> for GameError
[src]

Emit a non-fatal warning message Ideally we probably want some sort of real logging interface here...

Performs the conversion.

impl From<WindowBuildError> for GameError
[src]

Performs the conversion.

impl From<IntegerOrSdlError> for GameError
[src]

Performs the conversion.

impl From<PrefPathError> for GameError
[src]

Performs the conversion.

impl From<TextureValueError> for GameError
[src]

Performs the conversion.

impl From<Error> for GameError
[src]

Performs the conversion.

impl From<DecodeError> for GameError
[src]

Performs the conversion.

impl From<Error> for GameError
[src]

Performs the conversion.

impl From<ZipError> for GameError
[src]

Performs the conversion.