File: //usr/libexec/kcare/python/kcarectl/errors.pyo
�
��ic @ s� d d l m 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 e f d � � YZ
d � Z d S( i ( t HTTPErrort SafeExceptionWrapperc B s e Z d d d � Z RS( c C s | | _ | | _ | | _ d S( N( t innert etypet details( t selfR R R ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyt __init__ s N( t __name__t
__module__t NoneR ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR s t
KcareErrorc B s e Z d Z d Z d � Z RS( s4 Base kernelcare exception which will be considered as expected
error and the full traceback will not be shown.
Subclasses may set a class-level ``status`` to provide a short,
fixed label for error reporting. Individual raise sites can
override it per-instance via the ``status`` kwarg.
t c O sJ | j d d � } | d k r0 t | � | _ n t t | � j | � d S( Nt status( t popR t strR t superR
R ( R t argst kwargsR ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR s ( R R t __doc__R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR
s t NotFoundc B s e Z RS( ( R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR ! s t NoLibcareLicenseExceptionc B s e Z d Z RS( s no libcare license( R R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR % s t CapabilitiesMismatchc B s e Z d Z RS( s capabilities mismatch( R R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR ) s t AlreadyTrialedExceptionc B s e Z d Z d � Z d � Z RS( s already trialedc O s? t t | � j | | � | d | j d � !| _ | | _ d S( Ni t T( R R R t indext createdt ip( R R R R R ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR 0 s c C s d j | j | j � S( Ns6 The IP {0} was already used for a trial license on {1}( t formatR R ( R ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyt __str__5 s ( R R R R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR - s t UnableToGetLicenseExceptionc B s e Z d Z d � Z RS( s unable to get licensec K s'