$darkmode
cloe::CannotAddComponent Class Reference

#include <vehicle.hpp>

Inheritance diagram for cloe::CannotAddComponent:
Collaboration diagram for cloe::CannotAddComponent:

Public Member Functions

 CannotAddComponent (const std::string &msg, const std::string &vehicle, const std::string &key)
 
const std::string & vehicle () const
 
const std::string & component_name () const
 
- Public Member Functions inherited from cloe::Error
 Error (std::string_view what)
 
template<typename... Args>
 Error (std::string_view format, Args &&... args)
 
const char * what () const noexcept override
 
bool has_explanation () const
 
void set_explanation (std::string explanation)
 
template<typename... Args>
void set_explanation (std::string_view format, Args &&... args)
 
const std::string & explanation () const
 
Error explanation (std::string explanation) &&
 
template<typename... Args>
Error explanation (std::string_view format, Args &&... args) &&
 

Detailed Description

This error is thrown when a component cannot be added.


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