[TYPO3-core] RFC #15490: Throw exception instead of dying in enableFields() function

Stefano Kowalke blueduck at gmx.net
Mon Sep 6 21:46:11 CEST 2010


Am 06.09.10 21:22, schrieb Jigal van Hemert:
> Hi,
> 
> On 6-9-2010 20:11, Steffen Kamper wrote:
>> TYPO3 is a very kind and friendly CMS, that makes the difference to
>> other CMSes :)
> 
> Friendliness has very little to do with the length of error messages. A
> system can be friendly and helpful by supplying ways to track problems
> (helps developers to solve problems more easily, so other users will not
> have that problem any more), providing links to documentation (e.g.
> search for exception ID), etc.
> 
> Not to self: start tradition of writing little poems for error/exception
> messages ;-)
> 


Olivers message tells me more than yours, so its easier for me to find
whats going wrong.

Error messaged should clear and give a hints. Especially the second part
> This·means·that·the·function·enableFields()·is·
> called·with·an·invalid·table·name·as·argument.

point out that enableFields() is a function. This was not clear from
your message.


>> Not to self: start tradition of writing little poems for error/exception
>> messages ;-)

But only if they are poetic.

Stefano





More information about the TYPO3-team-core mailing list