exceptions.InvalidInputError
Error for invalid user input.
Usage
exceptions.InvalidInputError()Methods
| Name | Description |
|---|---|
| __init__() | Initialize with details about the invalid input. |
__init__()
Initialize with details about the invalid input.
Usage
__init__(parameter, value, reason=None, *args, **kwargs)Parameters
parameter: str-
Name of the parameter with invalid value.
value: object-
The invalid value provided.
reason: str | None = None-
Optional human-readable reason why the value is invalid. Default is None.
*args: Any-
Additional positional arguments forwarded to the base
Exception. **kwargs: Any-
Additional keyword arguments forwarded to the base
Exception.