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

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

An enum containing all kinds of game framework errors.

Variants

An error in the filesystem layout

An error in the config file

An error in some part of the underlying SDL library.

An error saying that a an integer overflow/underflow occured in an underlying library.

An error trying to parse a resource

Unable to find a resource; the Vec is the paths it searched for and associated errors

Something went wrong in the renderer

Something went wrong in the audio playback

Something went wrong trying to create a window

Something went wrong trying to read from a file

Something went wrong trying to load/render a font

Something went wrong applying video settings.

Something went compiling shaders

Something else happened; this is generally a bug.

Trait Implementations

impl Debug for GameError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for GameError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for GameError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<String> for GameError
[src]

[src]

Performs the conversion.

impl From<InitError> for GameError
[src]

[src]

Performs the conversion.

impl From<IntegerOrSdlError> for GameError
[src]

[src]

Performs the conversion.

impl From<PrefPathError> for GameError
[src]

[src]

Performs the conversion.

impl From<TextureValueError> for GameError
[src]

[src]

Performs the conversion.

impl From<AppDirsError> for GameError
[src]

[src]

Performs the conversion.

impl From<Error> for GameError
[src]

[src]

Performs the conversion.

impl From<Error> for GameError
[src]

[src]

Performs the conversion.

impl From<Error> for GameError
[src]

[src]

Performs the conversion.

impl From<ZipError> for GameError
[src]

[src]

Performs the conversion.

impl From<DecoderError> for GameError
[src]

[src]

Performs the conversion.

impl From<ImageError> for GameError
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<Error> for GameError
[src]

[src]

Performs the conversion.

impl<S, D> From<CopyError<S, D>> for GameError where
    S: Debug,
    D: Debug
[src]

[src]

Performs the conversion.

impl From<CombinedError> for GameError
[src]

[src]

Performs the conversion.

impl From<CreationError> for GameError
[src]

[src]

Performs the conversion.

impl From<ResourceViewError> for GameError
[src]

[src]

Performs the conversion.

impl From<TargetViewError> for GameError
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<ProgramError> for GameError
[src]

[src]

Performs the conversion.

impl From<CreationError> for GameError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for GameError

impl Sync for GameError