Enum amethyst_assets::PrefabError[]

pub enum PrefabError {
    Custom(BoxedErr),
    WrongGeneration(WrongGeneration),
    // some variants omitted
}

The Specs error type. This is an enum which is able to represent all error types of this library.

Please note that you should not use __NonExhaustive, which is a variant specifically added for extensibility without breakage.

Variants

A custom, boxed error.

Wrong generation error.

Trait Implementations

impl Error for Error

This method is soft-deprecated. Read more

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

impl From<WrongGeneration> for Error

Performs the conversion.

impl From<NoError> for Error

Performs the conversion.

impl Display for Error

Formats the value using the given formatter. Read more

impl Debug for Error

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error