//! Errors that can be triggered when working with voxel queries and commands.
usebevy::ecs::query::QueryEntityError;usebevy::prelude::*;/// An error type that is thrown while handling voxel queries.
#[derive(Debug)]pubenumVoxelQueryError{/// Thrown when attempting to read from an invalid or non-existent world.
WorldNotFound(Entity),/// Throw when there is no chunk located at the given chunk coordinates
/// within a specific world.
ChunkNotFound(Entity, IVec3),/// Thrown when attempting to spawn a new chunk that already exists.
ChunkAlreadyExists(Entity, IVec3),/// A standard Bevy query error.
QueryError(QueryEntityError),}