Loading...
Searching...
No Matches
eonExceptions.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <stdexcept>
4
5namespace eonc {
6
7class DimerModeLostException : public std::runtime_error {
8public:
9 DimerModeLostException() : std::runtime_error("Dimer lost mode alignment") {}
10};
11
12class DimerModeRestoredException : public std::exception {
13public:
14 const char *what() const noexcept override {
15 return "Dimer lost mode but restored to best negative curvature state";
16 }
17};
18
19} // namespace eonc
const char * what() const noexcept override
RAII resource manager for the ARTn C library with global synchronization.