aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/error.hh')
-rw-r--r--src/libutil/error.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh
index 48e6311bd..86cff5609 100644
--- a/src/libutil/error.hh
+++ b/src/libutil/error.hh
@@ -117,6 +117,12 @@ public:
}
{ }
+ BaseError(hintformat hint)
+ : err { .level = lvlError,
+ .hint = hint
+ }
+ { }
+
BaseError(ErrorInfo e)
: err(e)
{ }