I defined my own exception like this:
and when I type
followed by a space, the completion list that appears doesn't contain my PollNotFound exception.
Strangely it lists some exceptions from the azure package (if I import them). Those have a dunder init on them, but that doesn't seem to make a difference here, as this also doesn't show up in the completions:
def __init__(self, message):