Enum gltf_importer::Error [] [src]

pub enum Error {
    BufferLength(Path),
    Base64Decoding(DecodeError),
    ExtensionDisabled(String),
    ExtensionUnsupported(String),
    IncompatibleVersion(String),
    Io(Error),
    Gltf(Error),
    MalformedJson(Error),
    Validation(Vec<(Path, Error)>),
}

Error encountered when importing a glTF 2.0 asset.

Variants

A loaded glTF buffer is not of the required length.

Base 64 decoding error.

A glTF extension required by the asset has not been enabled by the user.

A glTF extension required by the asset is not supported by the library.

The glTF version of the asset is incompatible with the importer.

Standard I/O error.

gltf crate error.

Failure when deserializing .gltf or .glb JSON.

The .gltf data is invalid.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Vec<(Path, Error)>> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<DecodeError> for Error
[src]

[src]

Performs the conversion.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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