/
d.vision
/
division_engine_cpp
Обзор
Документация
Войти
/
d.vision
/
division_engine_cpp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
include/division_engine/core/exception.hpp
21 строка
334 B
den163
Code improvements
13 фев 2024, 17:27
13 фев 2024, 17:27
f855946
Код
Авторство
О чём код?
#pragma once #include <exception> #include <string> namespace division_engine::core { class Exception : public std::exception { public: Exception(const std::string& message) : _message(message) { } const char* what() const throw() override { return _message.c_str(); } private: std::string _message; }; }