[TYPO3-core] RFC #7357: Use exceptions to detect missing user function
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sun Feb 3 23:17:43 CET 2008
Ingo Renner schrieb:
> Martin Kutschker wrote:
>
>> I thought of a defined set of error codes, like 1 means "db error", 2
>> means "file system problem" etc
>>
>> What's the purpose of unique, one-time codes?
>
> you can look them up in a DB - once that is created - or in the wiki
> (again like 5.0), other than that each exception has its unique code and
> thus you can identify which one it is very quick - there will be only
> one place in the source with that specific code.
I thought you meant time(), which would change again and again. Only now
I see you meant the time at writing the code, right? Cheap but effective.
Masi
More information about the TYPO3-team-core
mailing list