aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-06-25 09:23:12 -0600
committerBen Burdette <bburdette@gmail.com>2020-06-25 09:23:12 -0600
commit9ab808c92613b59a72a4d15cfda1adb6aa523e28 (patch)
treeed97ba9f6280677b528ea8a8d090a0aa756cc257 /src/libutil/error.hh
parent9c0e1fd4f1151f4780c1ff3db82322d8b28d2d8b (diff)
showTrace flag for ErrorInfo; showTrace test.
Diffstat (limited to 'src/libutil/error.hh')
-rw-r--r--src/libutil/error.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh
index d79ff8f8c..dcde28453 100644
--- a/src/libutil/error.hh
+++ b/src/libutil/error.hh
@@ -107,6 +107,7 @@ struct ErrorInfo {
std::list<Trace> traces;
static std::optional<string> programName;
+ static bool showTrace;
};
std::ostream& operator<<(std::ostream &out, const ErrorInfo &einfo);