Move exit code consts into enum
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Previously, the constants defined in `src/exit_codes` weren't being used, and the constants for exit codes were being redefined in the `internals` module. This PR removes the exit code consts and instead uses an enum defined in `src/exit_codes`. This centralizes the definitions of exit codes making them easier to modify and keep track of.
authored by Josh Leeb-du Toit · committed by David Peter · parent f9c4e8d · Browse files · 5 files+21 added−15 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+21 added−15 removed
- other:+21 added−15 removed