403 Forbidden


Disable Functions:
Path : /usr/libexec/kcare/python/kcarectl/__pycache__/
File Upload :
Command :
Current File : //usr/libexec/kcare/python/kcarectl/__pycache__/errors.cpython-36.pyc

3

o��f+�@s�ddlmZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�ZGdd�de�Z	dd�Z
dS)�)�	HTTPErrorc@seZdZddd�ZdS)�SafeExceptionWrapperNcCs||_||_||_dS)N)�inner�etype�details)�selfrrr�r�,/usr/libexec/kcare/python/kcarectl/errors.py�__init__	szSafeExceptionWrapper.__init__)NN)�__name__�
__module__�__qualname__r
rrrr	rsrc@seZdZdZdS)�
KcareErrorzwBase kernelcare exception which will be considered as expected
    error and the full traceback will not be shown.
    N)rrr
�__doc__rrrr	rsrc@seZdZdS)�NotFoundN)rrr
rrrr	rsrc@seZdZdS)�NoLibcareLicenseExceptionN)rrr
rrrr	rsrcs$eZdZ�fdd�Zdd�Z�ZS)�AlreadyTrialedExceptioncs0tt|�j||�|d|jd��|_||_dS)N��T)�superrr
�index�created�ip)rrr�args�kwargs)�	__class__rr	r
 sz AlreadyTrialedException.__init__cCsdj|j|j�S)Nz6The IP {0} was already used for a trial license on {1})�formatrr)rrrr	�__str__%szAlreadyTrialedException.__str__)rrr
r
r�
__classcell__rr)rr	rsrc@seZdZdd�ZdS)�UnableToGetLicenseExceptioncCstj|dt|��dS)Nz6Unknown Issue when getting trial license. Error code: )�	Exceptionr
�str)r�coderrr	r
*sz$UnableToGetLicenseException.__init__N)rrr
r
rrrr	r)src@seZdZdS)�BadSignatureExceptionN)rrr
rrrr	r#.sr#cs�fdd�}|S)Ncs
t|��S)N)�
isinstance)�e�state)�exc_listrr	r3szcheck_exc.<locals>.innerr)r'rr)r'r	�	check_exc2sr(N)�py23rr rrrrrrr#r(rrrr	�<module>s


404 Not Found
[ LogOut ]