Glossary: JavaScript Beyond the Basics
Re-throw
Also written: rethrow
Throwing a caught error again when you can't handle it, so it reaches code that can or stops the program loudly. It keeps a bug from hiding behind a friendly message.
Glossary: JavaScript Beyond the Basics
Also written: rethrow
Throwing a caught error again when you can't handle it, so it reaches code that can or stops the program loudly. It keeps a bug from hiding behind a friendly message.