For a pragmatic introduction to how to deal with exceptions in applications 
that shouldn't crash, we have a chapter on describing their safe use and some 
of their pitfalls here: 
<https://status-im.github.io/nim-style-guide/errors.exceptions.html>

Notably though, for scripts and other simple applications that you can restart 
easily and where all you want to do is to report the error (as opposed to 
handling errors and writing logic that recovers from an exception), crashes are 
"fine" and exceptions are an easy way to get started, specially if you're both 
the developer and the only user of the application you're writing. 

Reply via email to