1 #ifndef DONUT_EVENTS_ERROR_HPP
2 #define DONUT_EVENTS_ERROR_HPP
13 struct Error : std::runtime_error {
14 explicit Error(
const std::string& message)
15 : std::runtime_error(message) {}
17 explicit Error(
const char* message)
18 : std::runtime_error(message) {}
Exception type for domain-specific errors originating from the donut::events module.
Definition: Error.hpp:13
Error(const char *message)
Definition: Error.hpp:17
Error(const std::string &message)
Definition: Error.hpp:14