logo

Crowdly

Browser

Add to Chrome

Express У коді написано: app.use((err, req, res) => { res.status(500).json({ e...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Express

У коді написано:

app.use((err, req, res) => {

res.status(500).json({ error: err.message });

});

Помилки в API все одно призводять до падіння з необробленою помилкою. Чому?

0%
0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on learn.ztu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome