î

_ÝV  ã               @   sê   d  d l  m Z d  d l m Z d  d l m Z Gd d „  d e ƒ Z Gd d „  d e ƒ Z Gd d	 „  d	 e ƒ Z	 Gd
 d „  d e
 ƒ Z Gd d „  d e ƒ Z e Gd d „  d e ƒ ƒ Z Gd d „  d e ƒ Z Gd d „  d e
 ƒ Z d S)é    )Úunicode_literals)ÚDatabaseError)Úpython_2_unicode_compatiblec               @   s   e  Z d  Z d Z d S)ÚAmbiguityErrorzD
    Raised when more than one migration matches a name prefix.
    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r
   r
   úA/tmp/pip-build-ghmbqnp_/Django/django/db/migrations/exceptions.pyr      s   r   c               @   s   e  Z d  Z d Z d S)ÚBadMigrationErrorzK
    Raised when there's a bad migration (unreadable/bad format/etc.).
    N)r   r   r   r	   r
   r
   r
   r   r      s   r   c               @   s   e  Z d  Z d Z d S)ÚCircularDependencyErrorzK
    Raised when there's an impossible-to-resolve circular dependency.
    N)r   r   r   r	   r
   r
   r
   r   r      s   r   c               @   s   e  Z d  Z d Z d S)ÚInvalidBasesErrorz?
    Raised when a model's base classes can't be resolved.
    N)r   r   r   r	   r
   r
   r
   r   r      s   r   c               @   s   e  Z d  Z d Z d S)ÚIrreversibleErrorzG
    Raised when a irreversible migration is about to be reversed.
    N)r   r   r   r	   r
   r
   r
   r   r   #   s   r   c               @   s:   e  Z d  Z d Z d d „  Z d d „  Z d d „  Z d S)	ÚNodeNotFoundErrorzV
    Raised when an attempt on a node is made that is not available in the graph.
    c             C   s   | |  _  | |  _ d  S)N)ÚmessageÚnode)Úselfr   r   r
   r
   r   Ú__init__0   s    	zNodeNotFoundError.__init__c             C   s   |  j  S)N)r   )r   r
   r
   r   Ú__str__4   s    zNodeNotFoundError.__str__c             C   s   d |  j  S)NzNodeNotFoundError(%r))r   )r   r
   r
   r   Ú__repr__7   s    zNodeNotFoundError.__repr__N)r   r   r   r	   r   r   r   r
   r
   r
   r   r   *   s   r   c               @   s   e  Z d  Z d S)ÚMigrationSchemaMissingN)r   r   r   r
   r
   r
   r   r   ;   s   r   c               @   s   e  Z d  Z d S)ÚInvalidMigrationPlanN)r   r   r   r
   r
   r
   r   r   ?   s   r   N)Ú
__future__r   Zdjango.db.utilsr   Zdjango.utils.encodingr   Ú	Exceptionr   r   r   Ú
ValueErrorr   ÚRuntimeErrorr   ÚLookupErrorr   r   r   r
   r
   r
   r   Ú<module>   s   