Enum glitter::types::GLError [] [src]

pub enum GLError {
    InvalidEnum,
    InvalidValue,
    InvalidOperation,
    InvalidFramebufferOperation,
    OutOfMemory,
    FramebufferError(GLFramebufferError),
    Message(String),
}

The various possible OpenGL errors.

Variants

Indicates that an unexpected enum value was passed to a function.

Indicates that a function was passed an argument with a value that had an unexpected value (such as passing a negative value to a function that only expects positive arguments).

Indicates that a particular operation was attempted that is not allowed, often resulting from an unexpected pairing of arguments.

Indicates that a particular operation attempted to use a framebuffer that is not framebuffer-complete.

Indicates that the OpenGL driver could not allocate enough memory to satisfy a request.

Indicates a framebuffer-related error.

Indicates an error with a message attached (such as a message from an info log, or an error message originating from glitter).

Trait Implementations

impl Debug for GLError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for GLError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for GLError
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<GLFramebufferError> for GLError
[src]

[src]

Performs the conversion.