attaching schema nodes progress
This commit is contained in:
@@ -81,9 +81,12 @@ bool operator<(const error &lhs, const std::error_code &rhs) {
|
||||
return lhs.ec_ < rhs;
|
||||
}
|
||||
|
||||
// std::ostream & operator<<(std::ostream &out, const error &err) {
|
||||
// out << err.ec_ << " " << err.ec_.message();
|
||||
// return out;
|
||||
// }
|
||||
std::ostream & operator<<(std::ostream &out, const error &err) {
|
||||
out << err.ec_ << " " << err.ec_.message() << "\n";
|
||||
for (const auto & [key, value] : err.error_infos_) {
|
||||
out << " " << key << ": " << value << "\n";
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user