Jaggi Posted August 9, 2008 Share 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? Link to comment Share on other sites More sharing options...
bfarber Posted August 11, 2008 Share 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). Link to comment Share on other sites More sharing options...
Jaggi Posted August 11, 2008 Share 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. Link to comment Share on other sites More sharing options...
bfarber Posted August 12, 2008 Share 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 ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.