Expand description

All error types.

Structs

Returned by get when an entity does not have a component in the requested storage(s).

Enums

Returned by AllStorages::add_component and World::add_component when trying to add components to an entity that is not alive.

Error type returned by Workload::add_to_world.

Error returned by apply and apply_mut.

AtomicRefCell’s borrow error.

Returned when trying to create views for custom storages.

Error related to acquiring a storage.

Returned when requirements for a workload make it impossible to build a valid workload.

Returned when trying to add an invalid system to a workload.

Error related to adding an entity.

Error returned by World::run and AllStorages::run.
Can refer to an invalid storage borrow or a custom error.

Error returned by run_default and run_workload.
The error can be a storage error, problem with the scheduler’s borrowing, a non existent workload or a custom error.

Trying to set the default workload to a non existent one will result in this error.