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 RS( sw Base kernelcare exception which will be considered as expected
error and the full traceback will not be shown.
( R R t __doc__( ( ( 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 RS( ( R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR
s t CapabilitiesMismatchc B s e Z RS( ( R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR s t AlreadyTrialedExceptionc B s e Z d � Z d � Z RS( c O s? t t | � j | | � | d | j d � !| _ | | _ d S( Ni t T( t superR R t indext createdt ip( R R R t argst kwargs( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR $ 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__) s ( R R R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR # s t UnableToGetLicenseExceptionc B s e Z d � Z RS( c C s t j | d t | � � d S( Ns6 Unknown Issue when getting trial license. Error code: ( t ExceptionR t str( R t code( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR . s ( R R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR - s t BadSignatureExceptionc B s e Z RS( ( R R ( ( ( s, /usr/libexec/kcare/python/kcarectl/errors.pyR 2 s c s � f d � } | S( Nc s
t | � � S( N( t
isinstance( t et state( t exc_list( s, /usr/libexec/kcare/python/kcarectl/errors.pyR 7 s ( ( R! R ( ( R! s, /usr/libexec/kcare/python/kcarectl/errors.pyt check_exc6 s N( t py23R R R R
R R
R R R R R"