ѠgddlmZddlmZGddeZGddeZGdd eZGd d eZGd d eZGddeZ GddeZ GddeZ GddeZ GddeZ GddeZGddeZGddeZGddeZGd d!eZd"S)#)FormattedException) CLCPAPI_NAMEceZdZfdZxZS)CPAPIExceptioncvt|td|j|_dS)Nz: )super__init__rmessage)self exc_message __class__s /builddir/build/BUILDROOT/alt-python27-cllib-3.4.22-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/cpapi/cpapiexceptions.pyr zCPAPIException.__init__ s6 %%%&88$,88 __name__ __module__ __qualname__r __classcell__rs@rrr s8999999999rrceZdZdS) NotSupportedNrrrrrrrDrrceZdZdS)NoDBAccessDataNrrrrrrrrrceZdZdS) NoPanelUserNrrrrrrrrrceZdZdS)NoPanelPackageNrrrrr!r!rrr!ceZdZdS) NoPackageNrrrrr#r#"rrr#ceZdZdS)PluginImportErrorNrrrrr%r%&rrr%ceZdZdS)NoDomainNrrrrr'r'*rrr'ceZdZdS) DuplicateDataNrrrrr)r).rrr)ceZdZdS) ReadFileErrorNrrrrr+r+2rrr+ceZdZdS)CPAPIExternalProgramFailedNrrrrr-r-6rrr-ceZdZdS) ParsingErrorNrrrrr/r/:rrr/ceZdZdS) IncorrectDataNrrrrr1r1>rrr1ceZdZfdZxZS) EncodingErrorc T||d}t|dS)Nr contextr r )r r r6r rs rr zEncodingError.__init__Cs5   %%%%%rrrs@rr3r3Bs8&&&&&&&&&rr3c eZdZdfd ZxZS)CpApiTypeErrorNchd|pd|pd|pddd}t|dS)NzUin function %(funcname)s argument must be %(supportedtypes)s, not '%(received_type)s'zzz)funcnamesupportedtypes received_typer5r7)r r;r<r=r rs rr zCpApiTypeError.__init__KsWn$8(8"0"G4G!.!C2C  %%%%%r)NNNrrs@rr9r9Js=&&&&&&&&&&rr9N)clcommon.clexceptionrconstrrrrrr!r#r%r'r)r+r-r/r1r3r9rrrr@s43333399999'999      >        ^        .        ^                        ~        N        N                >        N   &&&&&N&&& & & & & &^ & & & & &r