[dokuwiki] Re: Who is responsible for presenting error messages to the user?

On Mon, 23 Jan 2006 22:35:08 +0100
Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:

> On Mon, 23 Jan 2006 21:52:56 +0100
> Matthias Grimm <matthiasgrimm@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > Any thought regarding error management? I would like to remove any
> > human readable error messages from the mysql backend.
> 
> I agree with this. The auth backend should communicate with the user
> frontend through return codes only. Only debugging messages should be
> created from the backend (without translation). Have a quick look at the
> LDAP backend how it is done there.

Ok, I will remove all error messages from the mysql backend. Currently
most functions will return false on error. We could replace this by an
error code later if deeper knowledge of the error cause would be desired.

  Best Regards
    Matthias
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: