mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 07:50:32 +00:00
10 lines
479 B
Gherkin
10 lines
479 B
Gherkin
Improved description of filters resolving error.
|
|
For example when you try to pass wrong type of argument to the filter but don't know why filter is not resolved now you can get error like this:
|
|
|
|
.. code-block:: python3
|
|
|
|
aiogram.exceptions.FiltersResolveError: Unknown keyword filters: {'content_types'}
|
|
Possible cases:
|
|
- 1 validation error for ContentTypesFilter
|
|
content_types
|
|
Invalid content types {'42'} is not allowed here (type=value_error)
|