allpix::KeyValueParseError
Module: Exception classes
Indicates an error while parsing a key / value pair.
#include <exceptions.h>
Inherits from allpix::ConfigurationError, allpix::Exception, std::exception
Public Functions
Name | |
---|---|
KeyValueParseError(const std::string & key_value, const std::string & reason) Construct an error for a invalid key value pair. |
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 KeyValueParseError
inline KeyValueParseError(
const std::string & key_value,
const std::string & reason
)
Construct an error for a invalid key value pair.
Parameters:
- key_value Key value pair which the parser tries to interpret
- reason Reason for the parser to fail
Updated on 2024-12-13 at 08:31:37 +0000