refactor(exceptions): made header names consistent

All header names in the exceptions module now follow the same naming
scheme.
This commit is contained in:
2025-11-21 14:28:45 -05:00
parent acc71ba12e
commit 3fa23778e8
8 changed files with 8 additions and 23 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include <exception>
#include <string>
namespace gridfire::exceptions {
class GridFireError : public std::exception {
public:
explicit GridFireError(std::string msg) : m_msg(std::move(msg)) {}
[[nodiscard]] const char* what() const noexcept override {
return m_msg.c_str();
}
private:
std::string m_msg;
};
}