B
    ²ô`  ã               @   s$   G d d„ de ƒZG dd„ de ƒZdS )c               @   s   e Zd Zddd„ZdS )ÚFailedPreConditionNc             C   s*   || _ |r|g| _n|r || _ng | _d S )N)ÚurlÚmessages)Úselfr   Úmessager   © r   úM/home/dcms/DCMS/lib/python3.7/site-packages/oscar/apps/checkout/exceptions.pyÚ__init__   s    
zFailedPreCondition.__init__)NN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdd„ ZdS )ÚPassedSkipConditionzŠ
    To be raised when a skip condition has been passed and the current view
    should be skipped. The passed URL dictates where to.
    c             C   s
   || _ d S )N)r   )r   r   r   r   r   r      s    zPassedSkipCondition.__init__N)r	   r
   r   Ú__doc__r   r   r   r   r   r      s   r   N)Ú	Exceptionr   r   r   r   r   r   Ú<module>   s   