[243] in Kerberos

home help back first fref pref prev next nref lref last post

Re: reporting of errors.

daemon@TELECOM.MIT.EDU (Robert S. French)
Fri Oct 30 12:41:42 1987

From: Robert S. French <rfrench@ATHENA.MIT.EDU>
To: <steiner@ATHENA.MIT.EDU>
Cc: wesommer@ATHENA.MIT.EDU, kerberos@ATHENA.MIT.EDU
In-Reply-To: <steiner@ATHENA.MIT.EDU>'s message of Fri, 30 Oct 87 10:25:59 EST

   From: <steiner@ATHENA.MIT.EDU>
   Date: Fri, 30 Oct 87 10:25:59 EST

   What I'm wondering about are things like, should library functions print
   error messages, if so, in what cases; or should they only pass on any
   errors they get, if so, how; is there any time when they should abort
   a program, etc.?

   Jennifer

I strongly believe that library routines should ONLY return error
codes.  The error codes should be universal across all routines (ala
com_err style).  Applications should be able to deal with error codes
in their manner.  The library should never force an screen display and
especially should never cause a program abort.

			Rob

home help back first fref pref prev next nref lref last post