Enum minifb::Error [] [src]

pub enum Error {
    MenusNotSupported,
    MenuExists(String),
    WindowCreate(String),
    UpdateFailed(String),
}

Errors that can be return from various operatiors

Variants

Returned if menu Menu function isn't supported

Menu already exists

Menu already exists

Unable to Update

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

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

impl Display for Error
[src]

Formats the value using the given formatter. Read more