Yes, I understand. I wanted to highlight that this is a documentation issue, and why we might want to handle this more consistently. So I agree. I don't use Enums much, but considering the support they have in IDEs they might make sense here - but a plain dict mapping return code to error message might do as well.
Considering the different exit codes in cli.py:
Originally posted by @xrotwang in https://github.com/lmaurits/BEASTling/pull/248