No behavior change. Prevents mistakes like the one fixed in 26de2fd0b2.
@@ -12,7 +12,7 @@
namespace PDF {
-class Error {
+class [[nodiscard]] Error {
public:
enum class Type {
Parse,