HEX
Server: Apache
System: Linux br384.hostgator.com.br 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User: regi8665 (2159)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //usr/libexec/kcare/python/kcarectl/errors.pyo
�
��ic@s�ddlmZdefd��YZdefd��YZdefd��YZdefd	��YZd
efd��YZdefd
��YZdefd��YZ	defd��YZ
d�ZdS(i(t	HTTPErrortSafeExceptionWrappercBseZddd�ZRS(cCs||_||_||_dS(N(tinnertetypetdetails(tselfRRR((s,/usr/libexec/kcare/python/kcarectl/errors.pyt__init__	s		N(t__name__t
__module__tNoneR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyRst
KcareErrorcBseZdZdZd�ZRS(s4Base 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.
    tcOsJ|jdd�}|dk	r0t|�|_ntt|�j|�dS(Ntstatus(tpopR	tstrRtsuperR
R(RtargstkwargsR((s,/usr/libexec/kcare/python/kcarectl/errors.pyRs(RRt__doc__RR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyR
stNotFoundcBseZRS((RR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyR!stNoLibcareLicenseExceptioncBseZdZRS(sno libcare license(RRR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyR%stCapabilitiesMismatchcBseZdZRS(scapabilities mismatch(RRR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyR)stAlreadyTrialedExceptioncBs eZdZd�Zd�ZRS(salready trialedcOs?tt|�j||�|d|jd�!|_||_dS(NitT(RRRtindextcreatedtip(RRRRR((s,/usr/libexec/kcare/python/kcarectl/errors.pyR0scCsdj|j|j�S(Ns6The IP {0} was already used for a trial license on {1}(tformatRR(R((s,/usr/libexec/kcare/python/kcarectl/errors.pyt__str__5s(RRRRR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyR-s	tUnableToGetLicenseExceptioncBseZdZd�ZRS(sunable to get licensecKs'tt|�jdt|�|�dS(Ns6Unknown Issue when getting trial license. Error code: (RRRR(RtcodeR((s,/usr/libexec/kcare/python/kcarectl/errors.pyR<s(RRRR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyR9stBadSignatureExceptioncBseZdZRS(s
bad signature(RRR(((s,/usr/libexec/kcare/python/kcarectl/errors.pyRBscs�fd�}|S(Ncs
t|��S(N(t
isinstance(tetstate(texc_list(s,/usr/libexec/kcare/python/kcarectl/errors.pyRGs((R#R((R#s,/usr/libexec/kcare/python/kcarectl/errors.pyt	check_excFsN(tpy23Rt	ExceptionRR
RRRRRRR$(((s,/usr/libexec/kcare/python/kcarectl/errors.pyt<module>s