$darkmode
cloe::UnknownComponent Class Reference

#include <vehicle.hpp>

Inheritance diagram for cloe::UnknownComponent:
Collaboration diagram for cloe::UnknownComponent:

Public Member Functions

 UnknownComponent (const std::string &vehicle, const std::string &key, const std::vector< std::string > &available_components)
 
const std::string & vehicle () const
 
const std::string & unknown_component () const
 
const std::vector< std::string > & available_components () 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 an unknown component is accessed at a Vehicle.


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