Beautiful at this point, we're done with our initial setup in the register controller, but before
we continue with the rest of the functionality, let's set up a proper error handling in our express
server as well.
Now I know that this topic can get somewhat tedious and boring, and therefore, in my other server
projects, when we build APIs, we worked on that one only at the very end.
But since we also have a frontend in this project, this really seems like the best time to tackle it.
Just keep in mind that once you set a proper error handling, you can always take it from project to
project.
So in other words, you only need to make this set up once and after that, you'll be able to reuse
it in your other project as well.