Print a validation error and exit with USAGE_ERROR.
(message: str, usage: str)
| 44 | |
| 45 | |
| 46 | def _exit_usage(message: str, usage: str) -> None: |
| 47 | """Print a validation error and exit with USAGE_ERROR.""" |
| 48 | print_validation_error(message, usage) |
| 49 | raise typer.Exit(ExitCode.USAGE_ERROR) from None |
| 50 | |
| 51 | |
| 52 | # ============================================================================= |
no test coverage detected