added error::error_code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user