added error::error_code

This commit is contained in:
Sascha Kühl
2025-07-18 15:33:53 +02:00
parent 5379324519
commit 77c72ca23f
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -52,6 +52,7 @@ public:
friend std::ostream& operator<<(std::ostream &out, const error &err);
[[nodiscard]] std::string error_code() const;
[[nodiscard]] std::string message() const;
[[nodiscard]] std::string category() const;
[[nodiscard]] std::error_code ec() const;