ó
X–Tc           @   sÂ   d  Z  d d l Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d	 e f d
 „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ	 d e f d „  ƒ  YZ
 d „  Z d „  Z d S(   sJ   
This module defines custom exceptions that are thrown throughout spyral.
iÿÿÿÿNt   SceneHasNoSizeErrorc           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR       s   t   NotStylableErrorc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR   	   s   t   NoImageErrorc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR      s   t   BackgroundSizeErrorc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR      s   t   LayersAlreadySetErrorc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR      s   t   UnusedStyleWarningc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR      s   t   ActorsNotAvailableWarningc           B   s   e  Z RS(    (   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyR      s   c         C   s'   t  j d |  d j | ƒ f t ƒ d  S(   Ns*   %r does not understand style properties %st   ,(   t   warningst   warnt   joinR   (   t   objt
   properties(    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyt   unused_style_warning   s    	c           C   s   t  j d t ƒ d  S(   Ns>   You do not have Greenlets installed, so you cannot use Actors.(   R
   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyt   actors_not_available_warning   s    (   t   __doc__R
   t	   ExceptionR    R   R   R   R   t   WarningR   R   R   R   (    (    (    s5   /usr/lib/python2.7/site-packages/spyral/exceptions.pyt   <module>   s   	