spectre.support.CliExceptions¶
Exceptions
|
Error raised in the CLI when a required choice is not specified. |
- exception spectre.support.CliExceptions.RequiredChoiceError(message, choices)¶
Error raised in the CLI when a required choice is not specified.
Shows the list of available choices alongside the ‘click.UsageError’.
- add_note(note, /)¶
Add a note to the exception
- args¶
- cmd¶
- ctx¶
- exit_code = 2¶
The exit code for this exception.
- format_message()¶
- message¶
- show(file: IO[Any] | None = None) None¶
- show_color¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.