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

Exception raised when accessing entities component which was not assigned. More...

#include <exceptions.hpp>

Inheritance diagram for co_ecs::component_not_found:

Public Member Functions

 component_not_found (const type_meta *meta)
 Construct a new component not found exception object.
 
auto what () const noexcept -> const char *override
 Message to the client.
 

Detailed Description

Exception raised when accessing entities component which was not assigned.

Constructor & Destructor Documentation

◆ component_not_found()

co_ecs::component_not_found::component_not_found ( const type_meta * meta)
inlineexplicit

Construct a new component not found exception object.

Parameters
metaType metadata

Member Function Documentation

◆ what()

auto co_ecs::component_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: