
    'ib                     |    d dl mZmZmZmZ ddgZ G d de      Z G d de      Z G d de      Z	 G d d	e	      Z
y
)    )absolute_importdivisionprint_functionunicode_literalsBacktraderErrorStrategySkipErrorc                       e Zd ZdZy)r   z'Base exception for all other exceptionsN__name__
__module____qualname____doc__     O/var/www/app/trading-bot/venv/lib/python3.12/site-packages/backtrader/errors.pyr   r      s    1r   c                       e Zd ZdZy)r   zRequests the platform to skip this strategy for backtesting. To be
    raised during the initialization (``__init__``) phase of the instanceNr
   r   r   r   r   r   !   s    Mr   c                   "     e Zd ZdZ fdZ xZS )ModuleImportErrorWRaised if a class requests a module to be present to work and it cannot
    be importedc                 :    t         t        |   |       || _        y N)superr   __init__argsselfmessager   	__class__s      r   r   zModuleImportError.__init__*   s    /8	r   r   r   r   r   r   __classcell__r   s   @r   r   r   '   s     r   r   c                   "     e Zd ZdZ fdZ xZS )FromModuleImportErrorr   c                 .    t        t        | 
  |g|  y r   )r   r#   r   r   s      r   r   zFromModuleImportError.__init__2   s    #T3GCdCr   r   r!   s   @r   r#   r#   /   s    D Dr   r#   N)
__future__r   r   r   r   __all__	Exceptionr   r   r   r#   r   r   r   <module>r(      sO   ** * 1
2	i 	
	 	 D- Dr   