view stubs/twisted/words/protocols/jabber/error.pyi @ 4216:1a7a3e4b52a4

core (memory/migration): Update XEP-0384 and `fe3a02cb4bec_convert_legacypickle_columns_to_json.py` migration to properly handle (de)serialisation of `TrustMessageCacheEntry`.
author Goffi <goffi@goffi.org>
date Tue, 05 Mar 2024 17:31:12 +0100
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):
    ...