Jump to content

Error handler


Guest Jaggi

Recommended Posts

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...