Module shipyard::error[][src]

Expand description

Contains all error types.

Structs

Error when using get with an entity that doesn’t have any component in the requested storage(s).

Error when trying to use update pack related function on non update packed storage.

Enums

If a storage is packed_owned all storages packed with it have to be passed in the add_component call even if no components are added.

AtomicRefCell’s borrow error.

Error related to acquiring a storage.

Error when trying to access the inserted section of an update packed storage but the storage isn’t update packed or the section isn’t present in the window.

Error when trying to access the inserted and modified sections of an update packed storage but the storage isn’t update packed or the sections aren’t present in the window.

Error when trying to access the modified section of an update packed storage but the storage isn’t update packed or the section isn’t present in the window.

Error related to adding an entity.

Error related to window slicing, the range could be too big or trying to access an invalid range of an update packed window.

Error occuring when a pack can’t be made.
It could be a borrow issue or one of the storage could already have an incompatible pack or the storage could be unique.

When removing components if one of them is packed owned, all storages packed with it must be passed to the function.

Error related to run_default and run_workload.
The error can be a storage error, problem with the scheduler’s borrowing or a non existant workload.

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

Error occuring when trying to sort a packed storage but providing too few or too many storages.