Enum oxygengine_core::ecs::error::Error [−][src]
pub enum Error {
Custom(BoxedErr),
WrongGeneration(WrongGeneration),
// some variants omitted
}Expand description
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
Custom(BoxedErr)A custom, boxed error.
WrongGeneration(WrongGeneration)Wrong generation error.
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Errorimpl !UnwindSafe for ErrorBlanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any, pub fn get_type_id(&self) -> TypeIdMutably borrows from an owned value. Read more