elm/core

Add ability to crash with a runtime exception on purpose for Platform.worker programs.

rupertlssmith opened this issue · 1 comments

Would be nice if Elm had Platform.crash. Reason I would put it in Platform is to encourage the idea that its not meant for browser use, but should be available if you are running a Platform.worker - either on backend or a service worker.

Thanks for reporting this! To set expectations:

  • Issues are reviewed in batches, so it can take some time to get a response.
  • Ask questions a community forum. You will get an answer quicker that way!
  • If you experience something similar, open a new issue. We like duplicates.

Finally, please be patient with the core team. They are trying their best with limited resources.