mirror of
https://github.com/bevyengine/bevy
synced 2024-12-24 20:13:07 +00:00
11 lines
381 B
Rust
11 lines
381 B
Rust
|
use thiserror::Error;
|
||
|
|
||
|
use crate::schedule::BoxedScheduleLabel;
|
||
|
|
||
|
/// The error type returned by [`World::try_run_schedule`] if the provided schedule does not exist.
|
||
|
///
|
||
|
/// [`World::try_run_schedule`]: crate::world::World::try_run_schedule
|
||
|
#[derive(Error, Debug)]
|
||
|
#[error("The schedule with the label {0:?} was not found.")]
|
||
|
pub struct TryRunScheduleError(pub BoxedScheduleLabel);
|