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

Additional statistics

Average rating: 3.00/5.0
Clicks today: 1
Clicks this month: 11
Clicks total: 181
Number of comments: 0
Number of saves: 1