aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/attrs/attr/exceptions.pyi
blob: 1aaa057f8b6cb4f56d73fb877e7fb950c89dccc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from typing import Any 
 

class FrozenError(AttributeError):
    msg: str = ... 
 
class FrozenInstanceError(FrozenError): ...
class FrozenAttributeError(FrozenError): ...
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: ...