Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/lib/python/mercurial/error.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�
�c@sWdZdefd��YZdeefd��YZdefd��YZdefd��YZd	efd
��YZdefd��YZd
e	fd��YZ
de
fd��YZde
fd��YZdefd��YZ
defd��YZdefd��YZdefd��YZdefd��YZdefd��YZdS( sdMercurial exceptions.

This allows us to catch exceptions at higher levels without forcing
imports.
tRevlogErrorcBseZRS((t__name__t
__module__(((s"/sys/lib/python/mercurial/error.pyRstLookupErrorcBseZd�Zd�ZRS(cCsm||_t|t�o3t|�djo ddkl}||�}nti|d|||f�dS(Nii�(tshorts	%s@%s: %s(tnamet
isinstancetstrtlentnodeRRt__init__(tselfRtindextmessageR((s"/sys/lib/python/mercurial/error.pyR
s
	#cCs
ti|�S(N(Rt__str__(R((s"/sys/lib/python/mercurial/error.pyRs(RRR
R(((s"/sys/lib/python/mercurial/error.pyRs	t
ParseErrorcBseZdZRS(s7Exception raised on errors in parsing the command line.(RRt__doc__(((s"/sys/lib/python/mercurial/error.pyRstConfigErrorcBseZdZRS(s*Exception raised when parsing config files(RRR(((s"/sys/lib/python/mercurial/error.pyR!st	RepoErrorcBseZRS((RR(((s"/sys/lib/python/mercurial/error.pyR$stCapabilityErrorcBseZRS((RR(((s"/sys/lib/python/mercurial/error.pyR'st	LockErrorcBseZd�ZRS(cCs#ti||||�||_dS(N(tIOErrorR
tdesc(RterrnotstrerrortfilenameR((s"/sys/lib/python/mercurial/error.pyR
+s(RRR
(((s"/sys/lib/python/mercurial/error.pyR*stLockHeldcBseZd�ZRS(cCs&ti||d||�||_dS(Ns	Lock held(RR
tlocker(RRRRR((s"/sys/lib/python/mercurial/error.pyR
0s(RRR
(((s"/sys/lib/python/mercurial/error.pyR/stLockUnavailablecBseZRS((RR(((s"/sys/lib/python/mercurial/error.pyR4st
ResponseErrorcBseZdZRS(s6Raised to print an error with part of output and exit.(RRR(((s"/sys/lib/python/mercurial/error.pyR7stUnknownCommandcBseZdZRS(s8Exception raised if command is not in the command table.(RRR(((s"/sys/lib/python/mercurial/error.pyR:stAmbiguousCommandcBseZdZRS(sCException raised if command shortcut matches more than one command.(RRR(((s"/sys/lib/python/mercurial/error.pyR=stSignalInterruptcBseZdZRS(s'Exception raised on SIGTERM and SIGHUP.(RRR(((s"/sys/lib/python/mercurial/error.pyR AstSignatureErrorcBseZRS((RR(((s"/sys/lib/python/mercurial/error.pyR!DstAbortcBseZdZRS(s5Raised if a command needs to print an error and exit.(RRR(((s"/sys/lib/python/mercurial/error.pyR"GsN(Rt	ExceptionRtKeyErrorRRRRRRRRRRRRtKeyboardInterruptR R!R"(((s"/sys/lib/python/mercurial/error.pys<module>s

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.