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

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Feb 3 22:16:33 CET 2008


Ingo Renner schrieb:
> Martin Kutschker wrote:
> 
>> Using it as an error code is fine. I was confused because you wanted 
>> it to use it as a timestamp.
> 
> the timestamp is the error code ;-) using a timestamp (the one when you 
> typed that line, not generated at runtime) ensures that we have unique 
> error codes.

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?

Masi


More information about the TYPO3-team-core mailing list