Using Exceptions to Provide Better Feedback

Submitted by Adam » Within this article, we'll be taking a closer inspection of exceptions, as requested by the lovely Haris. This will be a basic exceptions article and so I won't be going over how to extend onto the exceptions class to model your own - otherwise we'll get too far ahead of ourselves. Exceptions tend to be used where we have no jurisdiction over the source, and when we wish to return a more informative message to the front-end.
Rating: 3.0/5 | 181 clicks | 0 comments | 1 save | share | report

Comments on this tutorial

Discuss this tutorial

You must be logged in to comment on a tutorial.