403Webshell
Server IP : 104.21.21.239  /  Your IP : 216.73.217.123
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/elementpath/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/elementpath/__pycache__/exceptions.cpython-39.opt-1.pyc
a

���c�'�D@s�ddlZddlmZddlmZGdd�de�ZGdd�de�ZGd	d
�d
ee�Z	Gdd�dee
�ZGd
d�dee�Z
Gdd�dee�ZGdd�dee�ZGdd�dee�ZGdd�dee�ZGdd�dee�ZGdd�deej�Zedfedfedfedfedfe
d fe
d!fed"fed#fed$fed%fed&fe
d'fe
d(fe
d)fed*fed+fed,fed-fed.fed/fed0fed1fed2fed3fed4fed5fed6fed7fed8fed9fed:fed;fed<fed=fe	d>fed?fed@fedAfedBfedCfedDfedEfedFfedGfedHfedIfedJfedKfedLfedMfedNfedOfedPfedQfedRfedSfedTfedUfedVfedWfedXfedYfedZfed[fed\fed]fd^�CZdceeeeeeed`�dadb�ZdS)d�N)�Optional�)�TokencsDeZdZdZd	eeeeedd��fdd�
Zed�dd�Z�Z	S)
�ElementPathErrorz�
    Base exception class for elementpath package.

    :param message: the message related to the error.
    :param code: an optional error code.
    :param token: an optional token instance related with the error.
    N)�message�code�token�returncs&tt|��|�||_||_||_dS)N)�superr�__init__rrr)�selfrrr��	__class__��:/usr/lib/python3.9/site-packages/elementpath/exceptions.pyrszElementPathError.__init__)r	cCsz|jdust|jjttf�s8|js(|jSd�|j|j�S|jsZdj|j|jg|jj�R�Sdj|j|j|jg|jj�R�S)Nz[{}] {}z {1} at line {2}, column {3}: {0}z&{2} at line {3}, column {4}: [{1}] {0})	r�
isinstance�value�str�bytesrr�formatZposition)rrrr�__str__s����zElementPathError.__str__)NN)
�__name__�
__module__�__qualname__�__doc__rrrrr�
__classcell__rrr
rrs��rc@seZdZdZdS)�MissingContextErrorzNRaised when the dynamic context is required for evaluate the XPath expression.N)rrrrrrrrr-src@seZdZdS)�ElementPathKeyErrorN�rrrrrrrr1src@seZdZdS)�ElementPathZeroDivisionErrorNrrrrrr5src@seZdZdS)�ElementPathNameErrorNrrrrrr 9sr c@seZdZdS)�ElementPathOverflowErrorNrrrrrr!=sr!c@seZdZdS)�ElementPathRuntimeErrorNrrrrrr"Asr"c@seZdZdS)�ElementPathSyntaxErrorNrrrrrr#Esr#c@seZdZdS)�ElementPathTypeErrorNrrrrrr$Isr$c@seZdZdS)�ElementPathValueErrorNrrrrrr%Msr%c@seZdZdS)�ElementPathLocaleErrorNrrrrrr&Qsr&zParser not bound to a schemazInvalid XPath expressionz%Dynamic context required for evaluatez'Type is not appropriate for the contextzA not empty sequence requiredzName not foundzAxis not foundzWrong number of argumentsz1Step result contains both nodes and atomic valuesz*Intermediate step contains an atomic valuezContext item is not a nodez!Type does not match sequence typezUnknown atomic typez5Target type cannot be xs:NOTATION or xs:anyAtomicTypezUnknown namespacezUnidentified errorzDivision by zeroz$Numeric operation overflow/underflowz!Input value too large for decimalzInvalid lexical valuez!Input value too large for integerz"NaN supplied as float/double valuez=String to be cast to decimal has too many digits of precisionzCode point not validzUnsupported collationzUnsupported normalization formz*Collation does not support collation unitszNo context documentzError retrieving resourcezFunction stability not definedz!Invalid argument to fn:collectionz.Invalid argument to fn:doc or fn:doc-availablez)Overflow/underflow in date/time operationz(Overflow/underflow in duration operationzInvalid timezone valuezNo namespace found for prefixz*Base-uri not defined in the static contextz"Invalid value for cast/constructorz$Invalid argument to fn:resolve-uri()zCfn:zero-or-one called with a sequence containing more than one itemz9fn:one-or-more called with a sequence containing no itemszKfn:exactly-one called with a sequence containing zero or more than one itemzInvalid argument typez<The two arguments to fn:dateTime have inconsistent timezoneszFError in resolving a relative URI against a base URI in fn:resolve-uriz Invalid regular expression flagszInvalid regular expressionz-Regular expression matches zero-length stringzInvalid replacement stringz)Argument node does not have a typed valuez2The argument to fn:data() contains a function itemz.The argument to fn:string() is a function itemz7An argument to fn:deep-equal() contains a function itemz?String passed to fn:parse-xml is not a well-formed XML documentz,The processor does not support serializationz,Invalid $href argument to fn:unparsed-text()z6Cannot decode resource retrieved by fn:unparsed-text()zACannot infer encoding of resource retrieved by fn:unparsed-text()zInvalid decimal format namez%Invalid decimal format picture stringz'Invalid date/time formatting parametersz&Invalid date/time formatting componentz-item is an attribute node or a namespace nodez1parameter value is invalid for the defined domainz3error during extraction of serialization parameterszSuse-character-maps serialization parameter in a sequence of length greater than onez3same serialization parameter appears more than once)CZXPST0001ZXPST0003ZXPDY0002ZXPTY0004ZXPST0005ZXPST0008ZXPST0010ZXPST0017ZXPTY0018ZXPTY0019ZXPTY0020ZXPDY0050ZXPST0051ZXPST0080ZXPST0081ZFOER0000ZFOAR0001ZFOAR0002ZFOCA0001ZFOCA0002ZFOCA0003ZFOCA0005ZFOCA0006ZFOCH0001ZFOCH0002ZFOCH0003ZFOCH0004ZFODC0001ZFODC0002ZFODC0003ZFODC0004ZFODC0005ZFODT0001ZFODT0002ZFODT0003ZFONS0004ZFONS0005ZFORG0001ZFORG0002ZFORG0003ZFORG0004ZFORG0005ZFORG0006ZFORG0008ZFORG0009ZFORX0001ZFORX0002ZFORX0003ZFORX0004ZFOTY0012ZFOTY0013ZFOTY0014ZFOTY0015ZFODC0006ZFODC0010ZFOUT1170ZFOUT1190ZFOUT1200ZFODF1280ZFODF1310ZFOFD1340ZFOFD1350ZSENR0001ZSEPM0016ZSEPM0017ZSEPM0018ZSEPM0019�err)rrr�prefixr	cCs2|�d�r�z|dd��d�\}}Wn(tyLd�|�}t|d|��Yq�0|dkrld�|�}t|d|��|r|d	||fn|}n^d
|vr�|r�d	||fn|}n@|r�|�|d
�s�d|}t|d|��n|}|t|�dd�}zt|\}}Wn*t�yt|�pd|d|��Yn0||�p&|||�SdS)
a�
    Returns an XPath error instance related with a code. An XPath/XQuery/XSLT error code
    (ref: http://www.w3.org/2005/xqt-errors) is an alphanumeric token starting with four
    uppercase letters and ending with four digits.

    :param code: the error code.
    :param message: an optional custom additional message.
    :param token: an optional token instance.
    :param prefix: the namespace prefix to apply to the error code, defaults to 'err'.
    �{rN�}z{!r} is not an xs:QNamezerr:XPTY0004z!http://www.w3.org/2005/xqt-errorszinvalid namespace {!r}z%s:%s�:z%r is not an XPath error codezunknown XPath error code %r)�
startswith�split�
ValueErrorrr%�len�XPATH_ERROR_CODES�KeyError)rrrr(�	namespaceZpcodeZerror_classZdefault_messagerrr�xpath_error�s0


�
r3)NNr')Zlocale�typingrZtdopr�	Exceptionrrr1r�ZeroDivisionErrorr�	NameErrorr �
OverflowErrorr!�RuntimeErrorr"�SyntaxErrorr#�	TypeErrorr$r.r%�Errorr&r0rr3rrrr�<module>
s���������������]�

�

Youez - 2016 - github.com/yon3zu
LinuXploit