co_ecs 0.9.0
Cobalt ECS
Loading...
Searching...
No Matches
co_ecs::entity_not_found Class Reference

Exception raised when accessing non existing entity. More...

#include <exceptions.hpp>

Inheritance diagram for co_ecs::entity_not_found:

Public Member Functions

 entity_not_found (entity ent)
 Construct a new entity not found exception object.
 
auto what () const noexcept -> const char *override
 Message to the client.
 

Detailed Description

Exception raised when accessing non existing entity.

Constructor & Destructor Documentation

◆ entity_not_found()

co_ecs::entity_not_found::entity_not_found ( entity ent)
inlineexplicit

Construct a new entity not found exception object.

Parameters
entEntity

Member Function Documentation

◆ what()

auto co_ecs::entity_not_found::what ( ) const -> const char*
inlineoverridenoexcept

Message to the client.

Returns
const char*

The documentation for this class was generated from the following file: