Motivation
I suppose this should really be ensured using a decorator or something, but it's been forgotten to have code to catch errors properly. We should be doing something like this for all interface functions:
except UsethisError as err:
err_print(err)
raise typer.Exit(code=1) from None
Summary of desired enhancement
Catch all errors and raise in the typer framework. Consider a way to make sure this happens in the future through some kind of automation.
Motivation
I suppose this should really be ensured using a decorator or something, but it's been forgotten to have code to catch errors properly. We should be doing something like this for all interface functions:
Summary of desired enhancement
Catch all errors and raise in the
typerframework. Consider a way to make sure this happens in the future through some kind of automation.