Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1192,10 +1192,10 @@ impl fmt::Display for EntityValidButNotSpawnedError {
#[derive(thiserror::Error, Copy, Clone, Debug, Eq, PartialEq)]
pub enum EntityNotSpawnedError {
/// The entity was invalid.
#[error("{0}")]
#[error("Entity despawned: {0}\nNote that interacting with a despawned entity is the most common cause of this error but there are others")]
Invalid(#[from] InvalidEntityError),
/// The entity was valid but was not spawned.
#[error("{0}")]
#[error("Entity not yet spawned: {0}\nNote that interacting with a not-yet-spawned entity is the most common cause of this error but there are others")]
ValidButNotSpawned(#[from] EntityValidButNotSpawnedError),
}

Expand Down