18 lines
539 B
Python
Raw Normal View History

2020-02-25 21:33:33 -06:00
from typing import Any
2020-12-19 00:11:01 -06:00
class FrozenError(AttributeError):
2020-02-25 21:33:33 -06:00
msg: str = ...
2020-12-19 00:11:01 -06:00
class FrozenInstanceError(FrozenError): ...
class FrozenAttributeError(FrozenError): ...
2020-02-25 21:33:33 -06:00
class AttrsAttributeNotFoundError(ValueError): ...
class NotAnAttrsClassError(ValueError): ...
class DefaultAlreadySetError(RuntimeError): ...
class UnannotatedAttributeError(RuntimeError): ...
class PythonTooOldError(RuntimeError): ...
class NotCallableError(TypeError):
msg: str = ...
value: Any = ...
def __init__(self, msg: str, value: Any) -> None: ...