Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
click.exceptions.MissingParameter Class Reference
Inheritance diagram for click.exceptions.MissingParameter:
Inheritance graph
[legend]
Collaboration diagram for click.exceptions.MissingParameter:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, str|None message=None, Context|None ctx=None, Parameter|None param=None, cabc.Sequence[str]|str|None param_hint=None, str|None param_type=None)
 
str format_message (self)
 
str __str__ (self)
 
- Public Member Functions inherited from click.exceptions.UsageError
None show (self, t.IO[t.Any]|None file=None)
 

Public Attributes

 param_type
 
- Public Attributes inherited from click.exceptions.BadParameter
 param
 
 param_hint
 
- Public Attributes inherited from click.exceptions.UsageError
 ctx
 
- Public Attributes inherited from click.exceptions.ClickException
 message
 

Additional Inherited Members

- Static Public Attributes inherited from click.exceptions.UsageError
int exit_code = 2
 
- Static Public Attributes inherited from click.exceptions.ClickException
int exit_code = 1
 

Detailed Description

Raised if click required an option or argument but it was not
provided when invoking the script.

.. versionadded:: 4.0

:param param_type: a string that indicates the type of the parameter.
                   The default is to inherit the parameter type from
                   the given `param`.  Valid values are ``'parameter'``,
                   ``'option'`` or ``'argument'``.

Constructor & Destructor Documentation

◆ __init__()

None click.exceptions.MissingParameter.__init__ (   self,
str | None   message = None,
Context | None   ctx = None,
Parameter | None   param = None,
cabc.Sequence[str] | str | None   param_hint = None,
str | None   param_type = None 
)

Reimplemented from click.exceptions.BadParameter.

Member Function Documentation

◆ __str__()

str click.exceptions.MissingParameter.__str__ (   self)

Reimplemented from click.exceptions.ClickException.

◆ format_message()

str click.exceptions.MissingParameter.format_message (   self)

Reimplemented from click.exceptions.BadParameter.


The documentation for this class was generated from the following file: