|
Utopia 2
Framework for studying models of complex & adaptive systems.
|
For access to a dict-like structure with a bad key. More...
#include <exceptions.hh>


Public Member Functions | |
| KeyError (const std::string &key, const DataIO::Config &node, const std::string &prefix="") | |
| Construct a KeyError exception, which has a standardized what message. | |
Public Member Functions inherited from Utopia::Exception | |
| Exception (const std::string &what_arg, const int exit_code_arg=1) | |
| Construct an Utopia-specific exception. | |
| Exception (const char *what_arg, const int exit_code_arg=1) | |
| Construct an Utopia-specific exception. | |
Private Member Functions | |
| std::string | generate_what_arg (std::string key, DataIO::Config node, std::string prefix) |
| Generates the what argument for the key error. | |
Additional Inherited Members | |
Public Attributes inherited from Utopia::Exception | |
| const int | exit_code |
| The exit code to use when exiting due to this exception. | |
For access to a dict-like structure with a bad key.
|
inline |
Construct a KeyError exception, which has a standardized what message.
|
inlineprivate |
Generates the what argument for the key error.