ó
O'—^c           @   s0   d  e  f d „  ƒ  YZ d e f d „  ƒ  YZ d S(   t   OAuthToolkitErrorc           B   s   e  Z d  Z d d d „ Z RS(   s#   
    Base class for exceptions
    c         O   s;   t  t |  ƒ j | | Ž  | |  _ | r7 | |  j _ n  d  S(   N(   t   superR    t   __init__t   oauthlib_errort   redirect_uri(   t   selft   errorR   t   argst   kwargs(    (    s<   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/exceptions.pyR      s    	N(   t   __name__t
   __module__t   __doc__t   NoneR   (    (    (    s<   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/exceptions.pyR       s   t   FatalClientErrorc           B   s   e  Z d  Z RS(   s#   
    Class for critical errors
    (   R	   R
   R   (    (    (    s<   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/exceptions.pyR      s   N(   t	   ExceptionR    R   (    (    (    s<   /tmp/pip-unpacked-wheel-ndW12l/oauth2_provider/exceptions.pyt   <module>   s   