I was thinking if it can be useful for us to declare ntsa::Error as class [[nodiscard]] ntsa::Error when the compiler supports this feature.
At the moment such declaration results in a lot of compilation warnings, mainly in test drivers. But as the idea of ntsa::Error is to return an error status from a function it's better to not ignore it.