mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-04-27 12:51:52 +00:00
refactor(cleanup): fix new error type
This commit is contained in:
parent
f3536b0895
commit
690c166f7e
1 changed files with 0 additions and 7 deletions
|
|
@ -28,14 +28,7 @@ namespace lsfgvk {
|
||||||
///
|
///
|
||||||
explicit error(const std::string& msg, const std::exception& inner);
|
explicit error(const std::string& msg, const std::exception& inner);
|
||||||
|
|
||||||
/// Get the exception message
|
|
||||||
[[nodiscard]] const char* what() const noexcept override {
|
|
||||||
return msg.c_str();
|
|
||||||
}
|
|
||||||
|
|
||||||
~error() override;
|
~error() override;
|
||||||
private:
|
|
||||||
std::string msg;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue