§
    Ö)ög±  ã                   ó¦   — d Z ddlZddlZ G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d	„ d
e¦  «        Z G d„ de¦  «        ZdS )z!
Exceptions used in the Waf code
é    Nc                   ó    — e Zd ZdZdd„Zd„ ZdS )ÚWafErrorzBase class for all Waf errorsÚ Nc                 ó  — t                                | ¦  «         || _        t          |t           ¦  «        rJ ‚g | _        |rh|st          |¦  «        | _        t          |t          ¦  «        r|j        | _        n0t          j        t          j
        ¦   «         d         ¦  «        | _        | xj        t          j        ¦   «         dd…         z  c_        d                     t          j        | j        ¦  «        ¦  «        | _        dS )z~
		:param msg: error message
		:type msg: string
		:param ex: exception causing this error (optional)
		:type ex: exception
		é   Néÿÿÿÿr   )Ú	ExceptionÚ__init__ÚmsgÚ
isinstanceÚstackÚstrr   Ú	tracebackÚ
extract_tbÚsysÚexc_infoÚextract_stackÚjoinÚformat_listÚverbose_msg)Úselfr   Úexs      ú'/git_repos/midimsg-lv2/waflib/Errors.pyr
   zWafError.__init__   sÜ   € õ ×Ò�TÑÔÐØ€$„(Ý˜�YÑ'Ô'Ð'Ð'Ð'à€$„*Øð 9Ø
ð Ý�2‰wŒw€D„HÝ�•XÑÔð 9Ø”€D„J€JåÔ%¥c¤l¡n¤n°QÔ&7Ñ8Ô8€D„JØ€*„*•	Ô'Ñ)Ô)¨#¨2¨#Ô.Ñ.€*„*Ø—W’W�YÔ2°4´:Ñ>Ô>Ñ?Ô?€$ÔÐÐó    c                 ó*   — t          | j        ¦  «        S )N)r   r   )r   s    r   Ú__str__zWafError.__str__#   s   € Ý	ˆTŒX‰ŒÐr   )r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   © r   r   r   r      sA   € € € € € Ø$Ð$ð@ð @ð @ð @ð,ð ð ð ð r   r   c                   ó"   — e Zd ZdZg fd„Zd„ ZdS )Ú
BuildErrorz0Error raised during the build and install phasesc                 ón   — || _         t                               | |                      ¦   «         ¦  «         dS )zj
		:param error_tasks: tasks that could not complete normally
		:type error_tasks: list of task objects
		N)Útasksr   r
   Úformat_error)r   Úerror_taskss     r   r
   zBuildError.__init__(   s3   € ð
 €$„*Ý
×Ò�D˜$×+Ò+Ñ-Ô-Ñ.Ô.Ð.Ð.Ð.r   c                 óœ   — dg}| j         D ]-}|                     ¦   «         }|r|                     |¦  «         Œ.d                     |¦  «        S )z5Formats the error messages from the tasks that failedzBuild failedú
)r%   r&   Úappendr   )r   ÚlstÚtskÚtxts       r   r&   zBuildError.format_error0   sT   € à	Ð€#ØŒZð ð €cØ	×	Ò	Ñ	Ô	€3Ø	ð Ø‡J‚Jˆs�O„O€OøØ	�Š�3‰ŒÐr   N)r   r   r   r    r
   r&   r!   r   r   r#   r#   &   s@   € € € € € Ø7Ð7Ø "ð /ð /ð /ð /ðð ð ð ð r   r#   c                   ó   — e Zd ZdZdS )ÚConfigurationErrorzWConfiguration exception raised in particular by :py:meth:`waflib.Context.Context.fatal`N©r   r   r   r    r!   r   r   r/   r/   9   s   € € € € € Ø^Ð^Ø€r   r/   c                   ó   — e Zd ZdZdS )Ú
TaskRescanzITask-specific exception type signalling required signature recalculationsNr0   r!   r   r   r2   r2   =   s   € € € € € ØPÐPØ€r   r2   c                   ó   — e Zd ZdZdS )ÚTaskNotReadyzOTask-specific exception type signalling that task signatures cannot be computedNr0   r!   r   r   r4   r4   A   s   € € € € € ØVÐVØ€r   r4   )	r    r   r   r	   r   r#   r/   r2   r4   r!   r   r   ú<module>r5      s  ðð
ð ð Ð Ð Ð Ð Ð Ð Ð ðð ð ð ð ˆyñ ô ð ð6ð ð ð ð �ñ ô ð ð&ð ð ð ð ˜ñ ô ð ðð ð ð ð �ñ ô ð ðð ð ð ð �8ñ ô ð ð ð r   