Custom Exceptions
If you’re not already subscribed to Steve Smith’s Dev tips mailing list, I highly recommend signing up for it here. He provides awesome quick tips. Today’s tip was around custom exception handling which can be found here. Making this small change to your exception handling has definitely saved me from headaches while debugging.