Engrain by ByteRush

JS.13 2 concepts · 2 ready

Errors and debugging in depth

Produce useful errors and debug production JavaScript.

  1. JS.13.01Error types, cause and custom errorsCoreMid-level10 min
  2. JS.13.02Global error handling and source mapsCoreMid-level11 min

Interview questions in this module

  1. How do you capture all uncaught errors in a web app?
  2. What is a source map? Should you deploy them publicly?
  3. Why do you sometimes see "Script error." with no details?
  4. How do you create a custom error class correctly?