[19021] in Kerberos_V5_Development
Re: Make error messages more useful: add a URI
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Oct 2 15:00:17 2014
Message-ID: <542DA0B3.2050303@mit.edu>
Date: Thu, 02 Oct 2014 15:00:03 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Nico Williams <nico@cryptonector.com>, krbdev@mit.edu
In-Reply-To: <20141001211822.GA12143@localhost>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
On 10/01/2014 05:18 PM, Nico Williams wrote:
> The idea is to derive a reasonably stable URI local part from context
> and format a URI. If a site-local base URI is configured, then that
> should be used, otherwise something like file:///${docdir}/pages/ should
> be used as the base URI.
I am interested to hear other people's opinions on this.
In general I am an error message minimalist; I think error messages
should be useful, but also readable. I do not generally see URIs or
unique identifiers in the error messages reported by my applications and
tools; in the rare cases where I do, it tends to make me feel like the
application is clunky.
But I am open to the possibility that I'm wrong-headed about this.
Regardless, it would be a lot of work to create a backing set of useful
documentation about each error code or format string. Often, it's not
possible to provide useful advice without knowing more about the context
which led to the error.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev