Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Michel Ribbens
Michel Ribbens
18,417 Points

Error Handling: Is this part of the course still relevant and up-to-date?

Just wondering since the course material is a few years old. Newer versions of browsers like Chrome and Firefox Developer show information by default in case of any errors

Also, I am using Flywheel instead of MAMP. Does this make any difference?

1 Answer

jamesjones21
jamesjones21
9,260 Points

Error handling is always a point of developing, especially when it comes to connecting to a database, the code needs to go somewhere when it can't find the correct logic, so it may crash and the user of the application won't know what to do. So this is why error handling is good, it tells the user something is wrong.

hope this helps.