From 89f0a41e8baefddf2c6962a8f0eee71dfd124d21 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Thu, 9 Dec 2021 11:14:31 +0100 Subject: added issues --- issues/improve-error-messages.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 issues/improve-error-messages.md (limited to 'issues/improve-error-messages.md') diff --git a/issues/improve-error-messages.md b/issues/improve-error-messages.md new file mode 100644 index 0000000..773d2d7 --- /dev/null +++ b/issues/improve-error-messages.md @@ -0,0 +1,16 @@ +**Title:** Improve error messages
+**Date:** 2021-12-09
+ +# Summary +Error messages that are returned by the log need to be looked-over. + +# Description +Some error messages are too verbose and may even span multiple lines. Error +messages that span multiple lines violate the Sigsum API specification. This +issue requires seeing over what error messages are currently returned, then +ensuring that what becomes externally visible is appropriate. + +Examples of appropriate error messages: +- `Error=unknown witness with key hash $hash` +- `Error=invalid tree head signature for tree head with timestamp $t` +- `Error=rate limit exceeded for $domain_hint` -- cgit v1.2.3