WP_Error vs PHP Exceptions in WordPress

So today, I instigated a lively discussion on the topic of WP_Error vs PHP Exceptions.

A great deal of discussion later, I have some great resources compiled and a summary:

For me, the most helpful takeaway (and the TL;DR) would be this response from Andrew Nacin:

As always, I’m exceedingly thankful for those who take time out of their day to respond on twitter. I always learn a ton! Hopefully you’ll find this post helpful if you’re researching or curious about the issue like I was.

Comment

Fast, secure WordPress hosting is provided by WP Engine.
%d bloggers like this: