class UsageError(ClickException):
Known subclasses: click.exceptions.BadArgumentUsage
, click.exceptions.BadOptionUsage
, click.exceptions.BadParameter
, click.exceptions.NoSuchOption
Parameters | |
message | the error message to display. |
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​_code |
Undocumented |
Instance Variable | cmd |
Undocumented |
Instance Variable | ctx |
Undocumented |
Inherited from ClickException
:
Method | __str__ |
Undocumented |
Method | format​_message |
Undocumented |
Instance Variable | message |
Undocumented |
click.exceptions.ClickException.__init__
click.exceptions.BadOptionUsage
, click.exceptions.BadParameter
, click.exceptions.NoSuchOption
Undocumented
Parameters | |
message:str | Undocumented |
ctx:t.Optional[ | Undocumented |
click.exceptions.ClickException.show
Undocumented
Parameters | |
file:t.Optional[ | Undocumented |