}CeddlmZddlmZddlmZddlmZddlmZGddeZGd d eZ Gd d eZ Gd deZ GddeZ GddeZ GddeZGddeZGddeZGddeZGddeZGddeZGdd eZGd!d"eZGd#d$eZd%S)&)absolute_import)division)print_function)FormattedException) CLCPAPI_NAMEceZdZfdZxZS)CPAPIExceptionctt||td|j|_dS)Nz: )superr __init__rmessage)self exc_message __class__s /builddir/build/BUILDROOT/alt-python27-cllib-3.3.7-2.el7.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/cpapi/cpapiexceptions.pyr zCPAPIException.__init__s9 nd##,,[999#/<<> __name__ __module__ __qualname__r __classcell__rs@rr r s8?????????rr ceZdZdS) NotSupportedNrrrrrrrDrrceZdZdS)NoDBAccessDataNrrrrr r rrr ceZdZdS) NoPanelUserNrrrrr"r"rrr"ceZdZdS)NoPanelPackageNrrrrr$r$!rrr$ceZdZdS) NoPackageNrrrrr&r&%rrr&ceZdZdS)PluginImportErrorNrrrrr(r()rrr(ceZdZdS)NoDomainNrrrrr*r*-rrr*ceZdZdS) DuplicateDataNrrrrr,r,1rrr,ceZdZdS) ReadFileErrorNrrrrr.r.5rrr.ceZdZdS)CPAPIExternalProgramFailedNrrrrr0r09rrr0ceZdZdS) ParsingErrorNrrrrr2r2=rrr2ceZdZdS) IncorrectDataNrrrrr4r4Arrr4ceZdZfdZxZS) EncodingErrorc b||d}tt||dS)Nrcontext)r r6r )rrr9rrs rr zEncodingError.__init__Fs;   mT""++K88888rrrs@rr6r6Es8999999999rr6c eZdZdfd ZxZS)CpApiTypeErrorNcvd|pd|pd|pddd}tt||dS)NzUin function %(funcname)s argument must be %(supportedtypes)s, not '%(received_type)s'zzz)funcnamesupportedtypes received_typer8)r r;r )rr=r>r?rrs rr zCpApiTypeError.__init__Ns]n$8(8"0"G4G!.!C2C  nd##,,[99999r)NNNrrs@rr;r;Ms=::::::::::rr;N) __future__rrrclcommon.clexceptionrconstrr rr r"r$r&r(r*r,r.r0r2r4r6r;rrrrCs'&&&&&%%%%%%333333?????'???      >        ^        .        ^                        ~        N        N                >        N   99999N999 : : : : :^ : : : : :r