Use cases covered: 1. window.onerror 2. try catch  3. utilising open source library printstacktrace