1
00:00:00,210 --> 00:00:00,580
All right.

2
00:00:00,600 --> 00:00:08,450
And now let's move those suckers out of here and set it up in a separate folder and just import bad

3
00:00:08,460 --> 00:00:09,530
and request error.

4
00:00:09,870 --> 00:00:17,270
Since most still use it in the register and the steps are following, where I want you to create a adders

5
00:00:17,310 --> 00:00:23,670
folder right now, it's going to be in the root crate following files, custom IP address by request

6
00:00:24,030 --> 00:00:28,470
not found and in jazz and proper imports.

7
00:00:28,860 --> 00:00:31,650
When you're setting up bad request and not found.

8
00:00:32,280 --> 00:00:39,450
Keep in mind that it relies on two things it relies on the custom API, which is going to be sitting

9
00:00:39,690 --> 00:00:40,500
in a separate file.

10
00:00:40,950 --> 00:00:50,010
And also, it relies on status codes, so both things must be present, then set up in next year's light

11
00:00:50,010 --> 00:00:50,670
in the front end.

12
00:00:50,670 --> 00:00:56,850
Because again, the goal for me is to export all errors from the folder.

13
00:00:57,300 --> 00:01:05,670
So that way I don't have to have a separate line for each import, so export them online in the controller

14
00:01:06,000 --> 00:01:07,830
import bud request.

15
00:01:08,100 --> 00:01:13,980
Now there's one gotcha, though, about your six modules in Node where, unlike the frontend, we need

16
00:01:13,980 --> 00:01:16,830
to add here in the Congress at the very end.

17
00:01:17,010 --> 00:01:20,120
So it may showcase that we're in the client.

18
00:01:20,130 --> 00:01:27,360
Remember, I think it was obvious where we're just importing from forward slash pages and effectively

19
00:01:27,360 --> 00:01:28,510
the idea would be the same.

20
00:01:28,890 --> 00:01:31,200
We have common threads in node.

21
00:01:31,590 --> 00:01:38,130
So if you use require, if you have Emacs jazz, that's going to be treated as default so you don't

22
00:01:38,130 --> 00:01:39,390
have to go with pagers.

23
00:01:39,390 --> 00:01:45,990
And then for the next year now with its six modules in Node, you have to do that.

24
00:01:46,560 --> 00:01:52,860
So it's going to be coming from the Errors folder and more specifically in the jazz.

25
00:01:53,290 --> 00:02:01,440
Let me set everything up where I'm going to go with new folder going for errors, and then let's create

26
00:02:01,440 --> 00:02:02,490
those files right away.

27
00:02:03,240 --> 00:02:07,530
So I'm going to have not found shares, then I'm going to have.

28
00:02:07,980 --> 00:02:10,289
One was the other one bad request.

29
00:02:11,530 --> 00:02:19,060
Jazz, then I also want to set up custom API, so pretty much that's going to be the papa for all of

30
00:02:19,060 --> 00:02:20,410
them, more mama.

31
00:02:20,980 --> 00:02:22,420
I mean, that's really up to you.

32
00:02:22,510 --> 00:02:28,000
So we're going to go here with custom API and jazz.

33
00:02:28,360 --> 00:02:32,350
Essentially, it's going to be a parent if you don't want to go into gender specifics.

34
00:02:32,800 --> 00:02:36,610
And we're going to go here in the jazz because we do want to explore that.

35
00:02:36,940 --> 00:02:37,330
Correct.

36
00:02:37,600 --> 00:02:44,740
Like I said, I want to explore the bar requires the not found and whatever additional area class I

37
00:02:44,740 --> 00:02:45,700
set up over here.

38
00:02:46,300 --> 00:02:53,290
As far as the custom API, it's pretty straightforward where we want to go back to as controller and

39
00:02:53,290 --> 00:02:55,780
remove this sucker and place it here.

40
00:02:56,180 --> 00:02:56,560
That's it.

41
00:02:56,620 --> 00:02:58,630
That's all we have to do as far as the code.

42
00:02:58,930 --> 00:03:03,340
We just need to remember that we want to explore this as default, correct?

43
00:03:03,730 --> 00:03:08,670
So we're going to go here with custom custom API error.

44
00:03:09,010 --> 00:03:10,390
So we export that.

45
00:03:10,900 --> 00:03:14,080
And I would do the same thing with bad request.

46
00:03:14,710 --> 00:03:18,670
So back in the off controller, we'll take this one out.

47
00:03:19,480 --> 00:03:20,350
Let's sit here.

48
00:03:20,640 --> 00:03:21,430
That's the code.

49
00:03:21,700 --> 00:03:26,020
But then we want to set up to import 40 custom API, everyone.

50
00:03:26,590 --> 00:03:32,740
And the second one is going to be the status code one and line one default export.

51
00:03:32,980 --> 00:03:34,420
So maybe let's start with export.

52
00:03:34,670 --> 00:03:35,860
It's probably going to be faster.

53
00:03:35,860 --> 00:03:40,540
So export default and then we're looking for bad request error.

54
00:03:40,900 --> 00:03:47,320
And now let's set up those imports where where I have the off controller, I'm just going to copy and

55
00:03:47,320 --> 00:03:48,490
paste is going to be faster.

56
00:03:48,730 --> 00:03:54,700
Now, keep in mind that this one stays over here because we're still using it in the controllers.

57
00:03:54,850 --> 00:03:55,230
Correct?

58
00:03:55,240 --> 00:03:56,620
So let me go here.

59
00:03:57,610 --> 00:04:02,410
Let me copy and paste working for status codes that fixes this one.

60
00:04:02,800 --> 00:04:05,350
And then I also want to get the custom might on.

61
00:04:05,770 --> 00:04:09,750
So I want to go with import and then custom API error.

62
00:04:10,180 --> 00:04:11,080
Let's save it.

63
00:04:11,410 --> 00:04:12,460
We're good to go.

64
00:04:12,910 --> 00:04:16,690
And now I just want to do that with not found.

65
00:04:16,990 --> 00:04:17,589
And you know what?

66
00:04:17,589 --> 00:04:20,589
I think it's going to be faster if I just copy the imports here.

67
00:04:21,130 --> 00:04:26,650
So and I don't when it comes to the controller, we'll just grab this one.

68
00:04:27,640 --> 00:04:29,860
Place it here in an iPhone.

69
00:04:29,860 --> 00:04:31,360
Sorry, wrong file.

70
00:04:31,690 --> 00:04:32,940
And then I want to export.

71
00:04:32,950 --> 00:04:40,090
So we're going to export default and then we're looking for not found error, let's say a.

72
00:04:40,840 --> 00:04:49,280
And lastly, we want to go to index jazz here and let's import both the battle request as well as the

73
00:04:49,300 --> 00:04:49,930
iPhone.

74
00:04:50,260 --> 00:04:52,810
So let's go with that request, van.

75
00:04:52,810 --> 00:04:55,810
The same is going to be with not found.

76
00:04:56,170 --> 00:05:04,180
And then let's set up the export export and then we want to export by request and not found error.

77
00:05:04,450 --> 00:05:12,760
And lastly, in the off controller, let's go on a top and let's say bad request.

78
00:05:13,800 --> 00:05:16,200
Brad, request error.

79
00:05:16,440 --> 00:05:21,130
And like I said, this is coming from where it's going to be coming from the errors.

80
00:05:21,720 --> 00:05:23,530
And now we need to go in next year.

81
00:05:23,850 --> 00:05:25,820
Now I will admit in jest.

82
00:05:25,840 --> 00:05:28,350
Just so you don't think that I'm messing with you?

83
00:05:28,470 --> 00:05:29,100
I swear it.

84
00:05:29,520 --> 00:05:30,330
And what do you know?

85
00:05:30,840 --> 00:05:37,770
Have big fat error corrected re-import power law, not supporter resolving its modules imported from

86
00:05:38,040 --> 00:05:39,790
North Controller chaos.

87
00:05:40,410 --> 00:05:41,220
And what do we do?

88
00:05:41,670 --> 00:05:43,830
Well, we go here with words.

89
00:05:44,550 --> 00:05:48,360
I'm not in the Congress and now everything is going to work good.

90
00:05:48,780 --> 00:05:53,070
So let me say that and I find Mojo about request important.

91
00:05:53,400 --> 00:05:56,400
And OK, let's say let's say, let's say so.

92
00:05:56,400 --> 00:05:59,130
It looks like I have some kind of bug here.

93
00:05:59,930 --> 00:06:03,300
Batteries are, of course, missing addresses.

94
00:06:03,660 --> 00:06:04,500
My apologies.

95
00:06:05,430 --> 00:06:06,890
Let's try one more time.

96
00:06:06,900 --> 00:06:07,470
Let's see.

97
00:06:07,590 --> 00:06:08,460
Again, it crashed.

98
00:06:08,460 --> 00:06:08,760
OK?

99
00:06:09,030 --> 00:06:12,470
Can I find module customer API again?

100
00:06:12,810 --> 00:06:13,080
All right.

101
00:06:13,320 --> 00:06:14,610
Looks like everywhere.

102
00:06:15,030 --> 00:06:16,860
It just missed on your site.

103
00:06:17,160 --> 00:06:21,930
Sorry, I don't want to rerecord this video, so I'm just going to go here with Jess here.

104
00:06:23,060 --> 00:06:27,560
And yes, also in the not far one, I'm really sorry for Detour.

105
00:06:27,950 --> 00:06:35,450
But by the time you're watching this, I added the notes, so you don't have to add that to your own

106
00:06:35,450 --> 00:06:36,200
files as well.

107
00:06:36,440 --> 00:06:39,050
So now as you can see, everything works finally.

108
00:06:40,000 --> 00:06:41,110
So let's try one more time.

109
00:06:41,350 --> 00:06:42,290
What son we have?

110
00:06:42,370 --> 00:06:48,100
Please provide all the values so everything is working as we expected.

