20 ss <<
"entity (" << ent.id() <<
", " << ent.generation() <<
")" <<
" does not exist";
27 [[nodiscard]]
auto what() const noexcept -> const
char*
override {
43 ss <<
"component \"" << meta->
name <<
"\" not found";
50 [[nodiscard]]
auto what() const noexcept -> const
char*
override {
67 ss <<
"Total size of components " << requested_size <<
" bytes exceeds chunk block size of " << chunk_size
75 [[nodiscard]]
auto what() const noexcept -> const
char*
override {
Exception raised when accessing entities component which was not assigned.
Definition exceptions.hpp:36
auto what() const noexcept -> const char *override
Message to the client.
Definition exceptions.hpp:50
component_not_found(const type_meta *meta)
Construct a new component not found exception object.
Definition exceptions.hpp:41
Exception raised when accessing non existing entity.
Definition exceptions.hpp:13
auto what() const noexcept -> const char *override
Message to the client.
Definition exceptions.hpp:27
entity_not_found(entity ent)
Construct a new entity not found exception object.
Definition exceptions.hpp:18
Insufficient chunk size error.
Definition exceptions.hpp:59
insufficient_chunk_size(std::size_t requested_size, std::size_t chunk_size)
Construct a new component not found exception object.
Definition exceptions.hpp:65
auto what() const noexcept -> const char *override
Message to the client.
Definition exceptions.hpp:75
Definition archetype.hpp:11
detail::handle< struct entity_tag_t > entity
Represents an entity, consisting of an ID and generation.
Definition entity.hpp:13