[TYPO3-core] RFC #7357: Use exceptions to detect missing user function

Ingo Renner ingo at typo3.org
Sat Feb 2 17:56:52 CET 2008


Martin Kutschker wrote:

> Solution: Raise an exception on error. Change $silent into $errorMode 
> with the meaning 1=silent and 2=exectption. To be compatible any true 
> value except 2 means silent.

how about using a more specific Exception than just the base Exception?

runtime or so, whatever fits best

Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list