class documentation

class NoSuchOption(UsageError):

View In Hierarchy

Raised if click attempted to handle an option that does not exist.

New in version 4.0.
Method __init__ Undocumented
Method format​_message Undocumented
Instance Variable option​_name Undocumented
Instance Variable possibilities Undocumented

Inherited from UsageError:

Method show Undocumented
Class Variable exit​_code Undocumented
Instance Variable cmd Undocumented
Instance Variable ctx Undocumented

Inherited from ClickException (via UsageError):

Method __str__ Undocumented
Instance Variable message Undocumented
def __init__(self, option_name, message=None, possibilities=None, ctx=None):

Undocumented

Parameters
option​_name:strUndocumented
message:t.Optional[str]Undocumented
possibilities:t.Optional[t.Sequence[str]]Undocumented
ctx:t.Optional[Context]Undocumented
def format_message(self):

Undocumented

Returns
strUndocumented
option_name =

Undocumented

possibilities =

Undocumented