
    c{                         G d  de           Z G d de          Z G d de          Z G d de          Z G d d	e          Z G d
 de          Z G d de          Z	 G d de          Z
 G d de          ZdS )c                       e Zd ZdZdZegZdS )FrozenErrorz
    A frozen/immutable instance or attribute have been attempted to be
    modified.

    It mirrors the behavior of ``namedtuples`` by using the same error message
    and subclassing `AttributeError`.

    .. versionadded:: 20.1.0
    zcan't set attributeN)__name__
__module____qualname____doc__msgargs     1/usr/lib/python3/dist-packages/attr/exceptions.pyr   r      s&           C5DDDr   r   c                       e Zd ZdZdS )FrozenInstanceErrorz\
    A frozen instance has been attempted to be modified.

    .. versionadded:: 16.1.0
    Nr   r   r   r   r
   r   r   r   r                 r   r   c                       e Zd ZdZdS )FrozenAttributeErrorz]
    A frozen attribute has been attempted to be modified.

    .. versionadded:: 20.1.0
    Nr   r
   r   r   r   r      r   r   r   c                       e Zd ZdZdS )AttrsAttributeNotFoundErrorzq
    An ``attrs`` function couldn't find an attribute that the user asked for.

    .. versionadded:: 16.2.0
    Nr   r
   r   r   r   r   #   r   r   r   c                       e Zd ZdZdS )NotAnAttrsClassErrorzi
    A non-``attrs`` class has been passed into an ``attrs`` function.

    .. versionadded:: 16.2.0
    Nr   r
   r   r   r   r   +   r   r   r   c                       e Zd ZdZdS )DefaultAlreadySetErrorz
    A default has been set using ``attr.ib()`` and is attempted to be reset
    using the decorator.

    .. versionadded:: 17.1.0
    Nr   r
   r   r   r   r   3              r   r   c                       e Zd ZdZdS )UnannotatedAttributeErrorz~
    A class with ``auto_attribs=True`` has an ``attr.ib()`` without a type
    annotation.

    .. versionadded:: 17.3.0
    Nr   r
   r   r   r   r   <   r   r   r   c                       e Zd ZdZdS )PythonTooOldErrorz~
    It was attempted to use an ``attrs`` feature that requires a newer Python
    version.

    .. versionadded:: 18.2.0
    Nr   r
   r   r   r   r   E   r   r   r   c                   (     e Zd ZdZ fdZd Z xZS )NotCallableErrorz
    A ``attr.ib()`` requiring a callable has been set with a value
    that is not callable.

    .. versionadded:: 19.2.0
    c                 v    t          t          |                               ||           || _        || _        d S N)super	TypeError__init__r   value)selfr   r%   	__class__s      r   r$   zNotCallableError.__init__V   s5    i''U333


r   c                 *    t          | j                  S r!   )strr   )r&   s    r   __str__zNotCallableError.__str__[   s    48}}r   )r   r   r   r   r$   r*   __classcell__)r'   s   @r   r   r   N   sQ             
      r   r   N)AttributeErrorr   r   r   
ValueErrorr   r   RuntimeErrorr   r   r   r#   r   r
   r   r   <module>r/      s      .       +       ;       *       :       \                     y     r   