Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Jaggi Posted August 9, 2008 Posted August 9, 2008 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?
bfarber Posted August 11, 2008 Posted August 11, 2008 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).
Jaggi Posted August 11, 2008 Posted August 11, 2008 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.
bfarber Posted August 12, 2008 Posted August 12, 2008 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 ;)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.