Enum gfx_text::Error [] [src]

pub enum Error {
    FontError(FontError),
    PipelineError(PipelineStateError<String>),
    ProgramError(ProgramError),
    CombinedError(CombinedError),
    UpdateError(UpdateError<usize>),
}

General error type returned by the library. Wraps all other errors.

Variants

Font loading error

Pipeline creation/update error

Program shader error.

An error occuring during creation of texture or resource view

An error occuring in buffer/texture updates

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<FontError> for Error
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<ProgramError> for Error
[src]

[src]

Performs the conversion.

impl From<CombinedError> for Error
[src]

[src]

Performs the conversion.

impl From<UpdateError<usize>> for Error
[src]

[src]

Performs the conversion.