aboutsummaryrefslogtreecommitdiff
path: root/src/lib/err/lib_err.dox
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/err/lib_err.dox')
-rw-r--r--src/lib/err/lib_err.dox13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/err/lib_err.dox b/src/lib/err/lib_err.dox
index 8994fa5fd8..23f9d9d3a7 100644
--- a/src/lib/err/lib_err.dox
+++ b/src/lib/err/lib_err.dox
@@ -1,4 +1,15 @@
/**
@dir lib/err
-@brief lib/err
+@brief lib/err: Lowest-level error handling code.
+
+This module is responsible for generating stack traces, handling raw
+assertion failures, and otherwise reporting problems that might not be
+safe to report via the regular logging module.
+
+There are three kinds of users for the functions in this module:
+ * Code that needs a way to assert(), but which cannot use the regular
+ `tor_assert()` macros in logging module.
+ * Code that needs signal-safe error reporting.
+ * Higher-level error handling code.
+
**/