summaryrefslogtreecommitdiffhomepage
path: root/TODO
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-05-30 04:20:26 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-05-31 01:13:17 +0100
commitf4021bd84ba008fd1a6b1d21a9782b97fb26120f (patch)
tree1f51861fbe721185241a3859fcfe1dc3da6b820a /TODO
parent165aa899bc9d1ea0bebb7b08351582dfeff8bbde (diff)
File a complaint about the error message situation
Diffstat (limited to 'TODO')
-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