Added new exception class for debug wire physical interface errors - to be handled with a DWEN fuse check

This commit is contained in:
Nav
2022-03-02 00:56:40 +00:00
parent 0f7ab7b814
commit 5309c1117f
4 changed files with 48 additions and 3 deletions

View File

@@ -8,6 +8,13 @@ namespace Bloom::Exceptions
{
public:
explicit Exception(): std::runtime_error("") {}
virtual ~Exception() = default;
Exception(const Exception& other) noexcept = default;
Exception(Exception&& other) = default;
Exception& operator = (const Exception& other) = default;
Exception& operator = (Exception&& other) = default;
explicit Exception(const std::string& message): std::runtime_error(message.c_str()), message(message) {}