Better Error Types
Get familiarized with the improvement in error handling in the reservation application.
We'll cover the following
Improvement in error handling
Notice that we’ve been putting our errors in strings throughout this course, which is OK for smaller projects. Strings are far from ideal, though. The reasons for this are probably familiar by now. Strings are too generic and allow for a very wide range of information. We know little about what will be contained inside them and our compiler is similarly confused.
Get hands-on with 1400+ tech skills courses.