๎
ชอ Xา  ใ               @   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 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
   ๚M/home/ubuntu/projects/ifolica/build/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)ฺInconsistentMigrationHistoryzT
    Raised when an applied migration has some of its dependencies not applied.
    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 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.
    Nc             C   s   | |  _  | |  _ | |  _ d  S)N)ฺmessageฺoriginฺnode)ฺselfr   r   r   r
   r
   r   ฺ__init__7   s    		zNodeNotFoundError.__init__c             C   s   |  j  S)N)r   )r   r
   r
   r   ฺ__str__<   s    zNodeNotFoundError.__str__c             C   s   d |  j  f S)NzNodeNotFoundError(%r))r   )r   r
   r
   r   ฺ__repr__?   s    zNodeNotFoundError.__repr__)r   r   r   r	   r   r   r   r
   r
   r
   r   r   1   s   r   c               @   s   e  Z d  Z d S)ฺMigrationSchemaMissingN)r   r   r   r
   r
   r
   r   r   C   s   r   c               @   s   e  Z d  Z d S)ฺInvalidMigrationPlanN)r   r   r   r
   r
   r
   r   r   G   s   r   N)ฺ
__future__r   Zdjango.db.utilsr   Zdjango.utils.encodingr   ฺ	Exceptionr   r   r   r   ฺ
ValueErrorr   ฺRuntimeErrorr   ฺLookupErrorr   r   r   r
   r
   r
   r   ฺ<module>   s   