W
W
wlms2019-12-13 11:36:09
JavaScript
wlms, 2019-12-13 11:36:09

Throw error in every Catch?

Do I need to throw errors (throw new Error(err)) in catch in every request ?
If not. What is the best way to organize error handling?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aloky, 2019-12-13
@aloky

console.error();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question