Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 9, 200816 yr Will ipb3 be using php's new throw/catch Exception errors to handle errors in the application or will it continue to use its existing method. If not is it something you'd be willing to think about given its advantages?
August 11, 200816 yr To be honest, there are few real advantages to exceptions when you boil it down. However to answer your questions, we do use exceptions where we feel it is appropriate for the most part (e.g. at the model parts of the code not intended to directly interact with the view).
August 11, 200816 yr i think its biggest advantage is you don't have to write something to catch errors as its already there for you, but yea that sounds like a start and please use proper error strings this time rather than one string for 50,000 errors :P.
August 12, 200816 yr i think its biggest advantage is you don't have to write something to catch errors as its already there for you, but yea that sounds like a start and please use proper error strings this time rather than one string for 50,000 errors :P . One of the things on our list ;)
Archived
This topic is now archived and is closed to further replies.