summaryrefslogtreecommitdiffhomepage
path: root/TODO/errmsg
diff options
context:
space:
mode:
Diffstat (limited to 'TODO/errmsg')
-rw-r--r--TODO/errmsg11
1 files changed, 11 insertions, 0 deletions
diff --git a/TODO/errmsg b/TODO/errmsg
new file mode 100644
index 0000000..51b8aae
--- /dev/null
+++ b/TODO/errmsg
@@ -0,0 +1,11 @@
+Come up with a better error logging abstraction
+====
+Something like the BSD err/warn/errx/warnx maybe, although taking into account
+all the stupid Windows GetLastError differences too. As it stands, different
+source files have different ways of prefixing messages, a lot of strings are
+pretty redundant (would maybe be nice to have something closer to the DJB-style
+concatenated string messages to solve that problem?), and almost nothing bothers
+to include the actual system error string because doing so is currently doing
+annoying.
+
+pls fix