Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
LoggingException.h
Go to the documentation of this file.
1#ifndef LOGGER_EXCEPTION_H
2#define LOGGER_EXCEPTION_H
3
4#include <exception>
5#include <string>
6
7class LoggingException : public std::exception {
8public:
9 explicit LoggingException(const std::string& message)
10 : message_(message) {}
11
12 virtual const char* what() const noexcept override {
13 return message_.c_str();
14 }
15
16private:
17 std::string message_;
18};
19
20#endif // LOGGER_EXCEPTION_H
virtual const char * what() const noexcept override
LoggingException(const std::string &message)