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

pub enum GameError {
    FilesystemError(String),
    ConfigError(String),
    ResourceLoadError(String),
    ResourceNotFound(StringVec<PathBuf>),
    RenderError(String),
    AudioError(String),
    WindowError(InitError),
    IOError(Error),
    FontError(String),
    VideoError(String),
    UnknownError(String),
}

An enum containing all kinds of game framework errors.

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. Read more

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<InitError> 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<AppDirsError> for GameError
[src]

Performs the conversion.

impl From<Error> for GameError
[src]

Performs the conversion.

impl From<Error> for GameError
[src]

Performs the conversion.

impl From<Error> for GameError
[src]

Performs the conversion.

impl From<ZipError> for GameError
[src]

Performs the conversion.

impl From<DecoderError> for GameError
[src]

Performs the conversion.

impl From<ImageError> for GameError
[src]

Performs the conversion.

impl From<PipelineStateError<String>> for GameError
[src]

Performs the conversion.

impl From<CombinedError> for GameError
[src]

Performs the conversion.

impl<T> From<UpdateError<T>> for GameError where
    T: Debug + Display + 'static, 
[src]

Performs the conversion.