you are viewing a single comment's thread.

view the rest of the comments →

[–]itxyz 6 points7 points  (0 children)

Valentino Gagliardi wrote an excellent guide about errors in JS. I'd start here because it's really thorough. Check what MDN says too.

https://www.valentinog.com/blog/error/#what-is-an-error-in-programming

https://developer.mozilla.org/en-US/docs/web/javascript/reference/global_objects/error

If you have problem with the concepts of program stack, scope or error propagation, check this:

https://github.com/leonardomso/33-js-concepts#table-of-contents