tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

exceptions.pyi (539B)


      1 from typing import Any
      2 
      3 class FrozenError(AttributeError):
      4    msg: str = ...
      5 
      6 class FrozenInstanceError(FrozenError): ...
      7 class FrozenAttributeError(FrozenError): ...
      8 class AttrsAttributeNotFoundError(ValueError): ...
      9 class NotAnAttrsClassError(ValueError): ...
     10 class DefaultAlreadySetError(RuntimeError): ...
     11 class UnannotatedAttributeError(RuntimeError): ...
     12 class PythonTooOldError(RuntimeError): ...
     13 
     14 class NotCallableError(TypeError):
     15    msg: str = ...
     16    value: Any = ...
     17    def __init__(self, msg: str, value: Any) -> None: ...