diff --git a/include/errors/error.hpp b/include/errors/error.hpp index b1212fa..2b78eae 100644 --- a/include/errors/error.hpp +++ b/include/errors/error.hpp @@ -11,7 +11,7 @@ namespace errors { /** * @brief Represents error information. */ -class Error { +class [[nodiscard]] Error { private: const std::shared_ptr message_ptr;