[m-dev.] Pure Functional throwing exception

Barthwal barthwal at protonmail.com
Tue May 7 14:52:18 AEST 2019


Hi:

Can a pure function throw exceptions?

I don't plan to catch these functions in pure function. But if something illegal happens, I want to send a message like:

throw error("Some Message")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/developers/attachments/20190507/9eee2627/attachment.html>


More information about the developers mailing list