view stubs/twisted/words/protocols/jabber/error.pyi @ 4082:72e91ea3bc16

build: create a dev env with debugging tools
author Goffi <goffi@goffi.org>
date Wed, 07 Jun 2023 22:25:49 +0200 (22 months ago)
parents 8289ac1b34f4
children
line wrap: on
line source
from typing import Optional

from twisted.words.xish import domish


class BaseError(Exception):
    namespace: str
    condition: str
    text: Optional[str]
    textLang: Optional[str]
    appCondition: Optional[domish.Element]

class StanzaError(BaseError):
    ...