class documentation
class UsageError(ClickException): (source)
Known subclasses: click.exceptions.BadArgumentUsage
, click.exceptions.BadOptionUsage
, click.exceptions.BadParameter
, click.exceptions.NoSuchOption
An internal exception that signals a usage error. This typically aborts any further handling. :param message: the error message to display. :param ctx: optionally the context that caused this error. Click will fill in the context automatically in some situations.
Method | __init__ |
Undocumented |
Method | show |
Undocumented |
Class Variable | exit |
Undocumented |
Instance Variable | cmd |
Undocumented |
Instance Variable | ctx |
Undocumented |
Inherited from ClickException
:
Method | __str__ |
Undocumented |
Method | format |
Undocumented |
Instance Variable | message |
Undocumented |
overrides
click.exceptions.ClickException.__init__
overridden in
click.exceptions.BadOptionUsage
, click.exceptions.BadParameter
, click.exceptions.NoSuchOption
Undocumented
Parameters | |
message:str | Undocumented |
ctx:t.Optional[ | Undocumented |
overrides
click.exceptions.ClickException.show
Undocumented
Parameters | |
file:t.Optional[ | Undocumented |