1
00:00:00,240 --> 00:00:05,880
Beautiful at this point, we're done with our initial setup in the register controller, but before

2
00:00:05,880 --> 00:00:12,060
we continue with the rest of the functionality, let's set up a proper error handling in our express

3
00:00:12,060 --> 00:00:13,140
server as well.

4
00:00:13,830 --> 00:00:20,340
Now I know that this topic can get somewhat tedious and boring, and therefore, in my other server

5
00:00:20,340 --> 00:00:26,160
projects, when we build APIs, we worked on that one only at the very end.

6
00:00:26,790 --> 00:00:32,850
But since we also have a frontend in this project, this really seems like the best time to tackle it.

7
00:00:33,600 --> 00:00:39,000
Just keep in mind that once you set a proper error handling, you can always take it from project to

8
00:00:39,000 --> 00:00:39,390
project.

9
00:00:39,990 --> 00:00:46,350
So in other words, you only need to make this set up once and after that, you'll be able to reuse

10
00:00:46,350 --> 00:00:48,810
it in your other project as well.

