What would you like to see?
Current error handling is a bit of a mess. We have a mix of exceptions and return codes, yet the places where we catch the return codes seems to forever vary which is a bit of a pain.
Exceptions need to be caught within commands, not in the calling Cli instance. Each exception type defined by us should be allocated an error code that should be included in the exceptions and then returned by the subcommand.
Code of Conduct
What would you like to see?
Current error handling is a bit of a mess. We have a mix of exceptions and return codes, yet the places where we catch the return codes seems to forever vary which is a bit of a pain.
Exceptions need to be caught within commands, not in the calling Cli instance. Each exception type defined by us should be allocated an error code that should be included in the exceptions and then returned by the subcommand.
Code of Conduct