/usr/lib/rads/venv/lib/python3.13/site-packages/bakauth/__pycache__
NameSizeModeActions
exc.cpython-313.pyc64010644editdlrm
hints.cpython-313.pyc35940644editdlrm
sess.cpython-313.pyc53940644editdlrm
__init__.cpython-313.pyc394570644editdlrm
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/bakauth/__pycache__/exc.cpython-313.pyc (6401B)
j@HSrSSKJr "SS\5r"SS\5r"SS\5r"S S \5r"S S \5r"S S\5r "SS\ 5r "SS\5r "SS\5r "SS\5r "SS\5r"SS\5r"SS\5r"SS\5rg) z"Backup Authority API error classes)Statuscv^\rSrSrSrSrS\S\4Sjr\RS.S\S\4U4Sjjjr U4S jr Sr U=r $) BakAuthErrorzBase class raised for errors with the Backup Authority API. All other exceptions subclass this, so catching this catches them all Args: status (Status): error code data (str): error message bakauthstatusdatacU[La[RU5$U[RLa[R[ 5$U[R La [S5eU[RLa[R[5$U[RLa[R[5$U[RLa[R[5$U[RLa[R[5$U[R La[R["5$U[R$La[R[&5$U[R(La[R[*5$U[R,La[R[.5$[RU5$)Nz0 is not an error code)r Exception__new__rREQUEST_EXCEPTION BakAuthDownOKAY ValueErrorAMP_DOWN AMPDownErrorWRONG_SERVER_CLASSWrongServerClass AUTH_FAILEDBakAuthLoginFailedINTERNAL_NO_QUOTA InternalQuotaVDED_AMP_MISSING NoAmpAccountLOOKUP_MISSING LookupMissing AUTH_MIGRATEDDedicatedMoved INTERNAL_VPS VpsRestricted)clsrr s >/usr/lib/rads/venv/lib/python3.13/site-packages/bakauth/exc.pyr BakAuthError.__new__s[ l "$$S) ) V-- -$$[1 1 V[[ 56 6 V__ $$$\2 2 V.. .$$%56 6 V'' '$$%78 8 V-- -$$]3 3 V,, ,$$\2 2 V** *$$]3 3 V)) )$$^4 4 V(( ($$]3 3  %%)rc0>[TU]U5 Xlg)N)super__init__r)selfrr __class__s r"r'BakAuthError.__init__+s  r$cR>URRS[TU] 53$)Nz: )rnamer&__str__)r(r)s r"r-BakAuthError.__str__/s'++""#2ego&7%899r$) __name__ __module__ __qualname____firstlineno____doc__rstrr ERRORr'r-__static_attributes__ __classcell__)r)s@r"rrsMJ&&c&2,2<<&s::r$rc\rSrSrSrSrSrg)r3zBackup Authority did not replyrNr/r0r1r2r3r6r:r$r"rr3s (Jr$rc\rSrSrSrSrSrg)ClusterUnavailable9z1Requested cluster is not available to this clientrr:Nr;r:r$r"r=r=9s ;Jr$r=c\rSrSrSrSrSrg)r?zPRaised when bakauth had an issue reaching PowerPanel and the client should retryrr:Nr;r:r$r"rr?sJr$rc\rSrSrSrSrSrg)rFz?Accessed the wrong API endpoint for the registered server classrr:Nr;r:r$r"rrFs IJr$rc\rSrSrSrSrSrg)rLzUser/Pass for bakauth was wrongrr:Nr;r:r$r"rrLs )Jr$rc\rSrSrSrSrSrg)BakAuthWrongLoginRzFor shared servers, this is raised if auth technically succeeded, but the server authed as the wrong host, potentially due to a failover missing the step of replacing auth.jsonrr:Nr;r:r$r"rFrFRs/Jr$rFc\rSrSrSrSrSrg)r Zz Access denied to an internal vpsrr:Nr;r:r$r"r r Z *Jr$r c\rSrSrSrSrSrg)r`z@Requested data could not be found in Backup Authority's databaserr:Nr;r:r$r"rr`s JJr$rc\rSrSrSrSrSrg)WrongSharedServerfz|Raised when calling get_user_bucket() on a user that doesn't belong to the server according to amp (or doesn't exist in amp)rr:Nr;r:r$r"rNrNfsGJr$rNc\rSrSrSrSrSrg)rmz5Raised when there's no amp account for a v/ded serverrr:Nr;r:r$r"rrms ?Jr$rc\rSrSrSrSrSrg)rsz8This dedicated server's bucket was moved to a new serverrr:Nr;r:r$r"rrss BJr$rc\rSrSrSrSrSrg)ryz7Raised when trying to get quotas for an internal serverrr:Nr;r:r$r"rrys AJr$rc\rSrSrSrSrSrg) Unregisteredz Raised when auth.json is missingrr:Nr;r:r$r"rWrWrJr$rWN)r3sessrr rrr=rrrrFr rrNrrr RuntimeErrorrWr:r$r"r[s(*:9*:Z,  <|  *L L  < \ L <r$