All right.
And now let's move those suckers out of here and set it up in a separate folder and just import bad
and request error.
Since most still use it in the register and the steps are following, where I want you to create a adders
folder right now, it's going to be in the root crate following files, custom IP address by request
not found and in jazz and proper imports.
When you're setting up bad request and not found.
Keep in mind that it relies on two things it relies on the custom API, which is going to be sitting
in a separate file.
And also, it relies on status codes, so both things must be present, then set up in next year's light
in the front end.
Because again, the goal for me is to export all errors from the folder.
So that way I don't have to have a separate line for each import, so export them online in the controller
import bud request.
Now there's one gotcha, though, about your six modules in Node where, unlike the frontend, we need
to add here in the Congress at the very end.
So it may showcase that we're in the client.
Remember, I think it was obvious where we're just importing from forward slash pages and effectively
the idea would be the same.
We have common threads in node.
So if you use require, if you have Emacs jazz, that's going to be treated as default so you don't
have to go with pagers.
And then for the next year now with its six modules in Node, you have to do that.
So it's going to be coming from the Errors folder and more specifically in the jazz.
Let me set everything up where I'm going to go with new folder going for errors, and then let's create
those files right away.
So I'm going to have not found shares, then I'm going to have.
One was the other one bad request.
Jazz, then I also want to set up custom API, so pretty much that's going to be the papa for all of
them, more mama.
I mean, that's really up to you.
So we're going to go here with custom API and jazz.
Essentially, it's going to be a parent if you don't want to go into gender specifics.
And we're going to go here in the jazz because we do want to explore that.
Correct.
Like I said, I want to explore the bar requires the not found and whatever additional area class I
set up over here.
As far as the custom API, it's pretty straightforward where we want to go back to as controller and
remove this sucker and place it here.
That's it.
That's all we have to do as far as the code.
We just need to remember that we want to explore this as default, correct?
So we're going to go here with custom custom API error.
So we export that.
And I would do the same thing with bad request.
So back in the off controller, we'll take this one out.
Let's sit here.
That's the code.
But then we want to set up to import 40 custom API, everyone.
And the second one is going to be the status code one and line one default export.
So maybe let's start with export.
It's probably going to be faster.
So export default and then we're looking for bad request error.
And now let's set up those imports where where I have the off controller, I'm just going to copy and
paste is going to be faster.
Now, keep in mind that this one stays over here because we're still using it in the controllers.
Correct?
So let me go here.
Let me copy and paste working for status codes that fixes this one.
And then I also want to get the custom might on.
So I want to go with import and then custom API error.
Let's save it.
We're good to go.
And now I just want to do that with not found.
And you know what?
I think it's going to be faster if I just copy the imports here.
So and I don't when it comes to the controller, we'll just grab this one.
Place it here in an iPhone.
Sorry, wrong file.
And then I want to export.
So we're going to export default and then we're looking for not found error, let's say a.
And lastly, we want to go to index jazz here and let's import both the battle request as well as the
iPhone.
So let's go with that request, van.
The same is going to be with not found.
And then let's set up the export export and then we want to export by request and not found error.
And lastly, in the off controller, let's go on a top and let's say bad request.
Brad, request error.
And like I said, this is coming from where it's going to be coming from the errors.
And now we need to go in next year.
Now I will admit in jest.
Just so you don't think that I'm messing with you?
I swear it.
And what do you know?
Have big fat error corrected re-import power law, not supporter resolving its modules imported from
North Controller chaos.
And what do we do?
Well, we go here with words.
I'm not in the Congress and now everything is going to work good.
So let me say that and I find Mojo about request important.
And OK, let's say let's say, let's say so.
It looks like I have some kind of bug here.
Batteries are, of course, missing addresses.
My apologies.
Let's try one more time.
Let's see.
Again, it crashed.
OK?
Can I find module customer API again?
All right.
Looks like everywhere.
It just missed on your site.
Sorry, I don't want to rerecord this video, so I'm just going to go here with Jess here.
And yes, also in the not far one, I'm really sorry for Detour.
But by the time you're watching this, I added the notes, so you don't have to add that to your own
files as well.
So now as you can see, everything works finally.
So let's try one more time.
What son we have?
Please provide all the values so everything is working as we expected.