Files
intellecton/venv/lib/python3.12/site-packages/jinja2/__pycache__/exceptions.cpython-312.pyc
T

60 lines
7.5 KiB
Plaintext
Raw Normal View History

Ë
ãóúddlZejrddlmZGdde«ZGddeee«Z Gdd e «Z
Gd
d e«Z Gd d
e «Z Gdde«Z
Gdde
«ZGdde
«ZGdde
«Zy)é©Ú UndefinedcóxeZdZdZddej
eddfˆfd
Zedej
efd«Z ˆxZ
S)Ú
TemplateErrorz"Baseclass for all template errors.NÚmessageÚreturncó$t||«y©N)ÚsuperÚ__init__)ÚselfrÚ __class__s €úT/home/antigravity/intellecton/venv/lib/python3.12/site-packages/jinja2/exceptions.pyr
zTemplateError.__init__
sø€Ü
јÕcó<|jr|jdSdS)Nr)Úargs©rs rrzTemplateError.message
sà#Ÿyšyˆty‰y˜‰|Ð2¨dÐ2rr ) Ú__name__Ú
__module__Ú __qualname__Ú__doc__ÚOptionalÚstrr
ÚpropertyrÚ
__classcell__©rs@rrrsDø„Ù" §
¡
¨3¡ð"¸ðŸ C™òô3rrcó°eZdZUdZdZej eed< d dej ejedfdej eddfdZ
defdZ y)
ÚTemplateNotFoundzÀRaised if a template does not exist.
.. versionchanged:: 2.11
If the given name is :class:`Undefined` and no message was
provided, an :exc:`UndefinedError` is raised.
NrÚnamerr có¨tj||«|€$ddlm}t ||«r|j «|}||_||_|g|_y)Nrr) ÚIOErrorr
ÚruntimerÚ
isinstanceÚ_fail_with_undefined_errorrr!Ú templates)rr!rrs rr
zTemplateNotFound.__init__sNô
×ј˜tÔ ˆ?Ý ˜$  Ô׈GàˆŒ ؈Œ ؘˆrcó,t|j«Sr )rrrs rÚ__str__zTemplateNotFound.__str__1sÜ4—< Ð rr ) rrrrrrrrÚ__annotations__ÚUnionr
r)©rrr r slñð $€GˆQZ‰Z˜‰_Ó
$(ñ àj‰j˜Ÿ  kÐ!1Ñ ð˜C‘ð ð
ó  ð&!˜ô!rr cóˆeZdZdZ ddej
ej edfdejeddfˆfd
Z ˆxZ
S) ÚTemplatesNotFounda”Like :class:`TemplateNotFound` but raised if multiple templates
are selected. This is a subclass of :class:`TemplateNotFound`
exception, so just catching the base exception will catch both.
.. versionchanged:: 2.11
If a name in the list of names is :class:`Undefined`, a message
about it being undefined is shown rather than the empty string.
.. versionadded:: 2.2
namesrrr có0|€lddlm}g}|D];}t||«r|j|j«Œ+|j|«Œ=dj t
t|««}d|}t|%|r|dnd|«t|«|_ y)Nrrz, z(none of the templates given were found: éÿÿÿÿ) r$rr%ÚappendÚ_undefined_messageÚjoinÚmaprr r
Úlistr')rr/rrÚpartsr!Ú parts_strrs €rr
zTemplatesNotFound.__init__Asø€ð
ˆ?Ý ˆEàò
'ܘd —LL ×!8Ñ!8Õ—LL Õ
Ÿ ™ ¤#¤c¨5£/Ó2ˆIØÀ ÐLˆGä
Ñ¡e˜˜rš°°wÔ˜e›ˆr)r,N) rrrrrÚSequencer+rrr
rrs@rr.r.5sUø„ñ ð8:Ø#'ñz‰z˜!Ÿ'™' # {Ð"2јC‘ð
÷ %rr.c ó„eZdZdZ d dededejedejeddf
ˆfd
Zdefd „Z d