joaonc / show_dialog

Easily show a dialog for miscellaneous uses.
https://joaonc.github.io/show_dialog
MIT License
0 stars 0 forks source link

Update exit error codes #75

Closed joaonc closed 2 months ago

joaonc commented 2 months ago

1 should be for unknow errors which can be raised anywhere in the code, in an unexpected place. Ex. parsing a bad JSON or YAML file. For the moment, we do not want to catch those exceptions for easier debugging and when the exception is not caught, the app exits with code 1, so for other error codes, should start at 2. (0 is success).