title: Service worker - handling errors on the front end
body: <p>I am looking to handle the error from a service worker in the front end.
  I saw this question - <a href="https://stackoverflow.com/questions/59357504/how-to-do-proper-error-handling-using-web-workers">How to do proper Error Handling using Web Workers?</a></p>
  <p>I tried the onerror - I tried using a post message from the service worker and listen for it on the front end. I tried listening for a on error. I couldn't find a way to get the message in the front end script again.</p>