Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/src/cmd/hg/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./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./mercurial/error.pyR
s
	#cCs
ti|�S(N(Rt__str__(R((s./mercurial/error.pyRs(RRR
R(((s./mercurial/error.pyRs	t
ParseErrorcBseZdZRS(s7Exception raised on errors in parsing the command line.(RRt__doc__(((s./mercurial/error.pyRstConfigErrorcBseZdZRS(s*Exception raised when parsing config files(RRR(((s./mercurial/error.pyR!st	RepoErrorcBseZRS((RR(((s./mercurial/error.pyR$stCapabilityErrorcBseZRS((RR(((s./mercurial/error.pyR'st	LockErrorcBseZd�ZRS(cCs#ti||||�||_dS(N(tIOErrorR
tdesc(RterrnotstrerrortfilenameR((s./mercurial/error.pyR
+s(RRR
(((s./mercurial/error.pyR*stLockHeldcBseZd�ZRS(cCs&ti||d||�||_dS(Ns	Lock held(RR
tlocker(RRRRR((s./mercurial/error.pyR
0s(RRR
(((s./mercurial/error.pyR/stLockUnavailablecBseZRS((RR(((s./mercurial/error.pyR4st
ResponseErrorcBseZdZRS(s6Raised to print an error with part of output and exit.(RRR(((s./mercurial/error.pyR7stUnknownCommandcBseZdZRS(s8Exception raised if command is not in the command table.(RRR(((s./mercurial/error.pyR:stAmbiguousCommandcBseZdZRS(sCException raised if command shortcut matches more than one command.(RRR(((s./mercurial/error.pyR=stSignalInterruptcBseZdZRS(s'Exception raised on SIGTERM and SIGHUP.(RRR(((s./mercurial/error.pyR AstSignatureErrorcBseZRS((RR(((s./mercurial/error.pyR!DstAbortcBseZdZRS(s5Raised if a command needs to print an error and exit.(RRR(((s./mercurial/error.pyR"GsN(Rt	ExceptionRtKeyErrorRRRRRRRRRRRRtKeyboardInterruptR R!R"(((s./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.