Houston, we have an Exception
When we program, we normally focus on the happy path, resolving the task at hand and assuming that nothing can wrong go. Sadly, anything that can fail, will fail. When we sign up the username will be already in use. We will lose connection. When we call our API we'll get a 500 error or timeout, and the user will make a mistake filling the forms.
So what constitutes an error? How can we avoid them or at least rest assured that they are being handled? In this talk, we'll see how we can use TypeScript to answer those questions and make our life's easier.