allpix::MissingKeyError
Module: Exception classes
Informs of a missing key that should have been defined.
#include <exceptions.h>
Inherits from allpix::ConfigurationError, allpix::Exception, std::exception
Public Functions
Name | |
---|---|
MissingKeyError(const std::string & key, const std::string & section) Construct an error for a missing key. |
Additional inherited members
Public Functions inherited from allpix::Exception
Name | |
---|---|
Exception(std::string what_arg) Creates exception with the specified problem. |
|
const char * | what() const override Return the error message. |
Protected Functions inherited from allpix::Exception
Name | |
---|---|
Exception() =default Internal constructor for exceptions setting the error message indirectly. |
Protected Attributes inherited from allpix::Exception
Name | |
---|---|
std::string | error_message_ |
Public Functions Documentation
function MissingKeyError
inline MissingKeyError(
const std::string & key,
const std::string & section
)
Construct an error for a missing key.
Parameters:
- key Name of the missing key
- section Section where the key should have been defined
Updated on 2024-12-13 at 08:31:37 +0000