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:
10 : std::runtime_error("Dimer lost mode alignment") {}
11};
12
13class DimerModeRestoredException : public std::exception {
14public:
15 const char *what() const noexcept override {
16 return "Dimer lost mode but restored to best negative curvature state";
17 }
18};
19
20} // namespace eonc
const char * what() const noexcept override
RAII resource manager for the ARTn C library with global synchronization.