include/Doxybook/Exception.hpp
Namespaces
| Name |
|---|
| Doxybook2 |
Classes
| Name | |
|---|---|
| class | Doxybook2::Exception |
Source code
cpp
#pragma once
#include <string>
namespace Doxybook2 {
class Exception : public std::exception {
public:
Exception() = default;
explicit Exception(std::string msg)
: msg(std::move(msg)) {
}
const char* what() const throw() override {
return msg.c_str();
}
private:
std::string msg;
};
}Updated on 2026-05-17 at 13:22:38 +0000