summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-14 20:24:30 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-14 20:24:30 +0200
commit8dfe86431424fa6c43a0ff3ca092989d21a47dbf (patch)
tree585c9cb53c4a3afa495286dd3d9e6be742cfc685 /src/lib/util.cc
parentf4a41311291cb7b171a025dd9e572e66b10388be (diff)
More error message improvements.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 2a21477fd..dd9bbb7eb 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -1181,3 +1181,9 @@ capture_asdcp_logs ()
Kumu::SetDefaultLogSink(&log_sink);
}
+
+string
+error_details(boost::system::error_code ec)
+{
+ return String::compose("%1:%2:%3", ec.category().name(), ec.value(), ec.message());
+}