Coverage for bugscpp/errors/search.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from typing import List
3import processor
4from errors import DppError
7class DppSearchError(DppError):
8 pass
11class DppNoSuchTagError(DppSearchError):
12 def __init__(self, tags: List[str]):
13 super().__init__(
14 f"There is no such tag: '{ ', '.join(tags) }'.\n"
15 f"All possible tags are: '{ ', '.join(processor.search.all_tags) }'."
16 )