mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
8 lines
305 B
Rust
8 lines
305 B
Rust
|
//! Contains error and result helpers for use in fallible systems.
|
||
|
|
||
|
/// A dynamic error type for use in fallible systems.
|
||
|
pub type Error = Box<dyn core::error::Error + Send + Sync + 'static>;
|
||
|
|
||
|
/// A result type for use in fallible systems.
|
||
|
pub type Result<T = (), E = Error> = core::result::Result<T, E>;
|