exceptions.pyi 539 B

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