
    Mi                         S r  " S S5      rg)z2
exceptions.py
----------------

Wrap exceptions.
c                   @   ^  \ rS rSrSrS\4S jrU 4S jrS rSr	U =r
$ )ExceptionWrapper	   ag  
Create a dummy object which will raise an exception when attributes
are accessed (i.e. when used as a module) or when called (i.e.
when used like a function)

For soft dependencies we want to survive failing to import but
we would like to raise an appropriate error when the functionality is
actually requested so the user gets an easily debuggable message.
	exceptionc                 <    [        U5      UR                  4U l        g )N)typeargsr   )selfr   s     l/var/www/eduai.edurigo.com/storigo/production/storigo_env/lib/python3.13/site-packages/trimesh/exceptions.py__init__ExceptionWrapper.__init__   s     y/9>>:    c                 Z   > US   S:X  a  S R                   $ [        TU ]	  S5      u  p4U" U6 e)N    	__class__r   )r   super__getattribute__)r	   r   kwargsexc_typeexc_argsr   s        r
   r   !ExceptionWrapper.__getattribute__   s:     7k!>>! #W5kB!!r   c                 &    U R                  S5        g )Nr   )r   )r	   r   r   s      r
   __call__ExceptionWrapper.__call__%   s     	k*r   )r   )__name__
__module____qualname____firstlineno____doc__BaseExceptionr   r   r   __static_attributes____classcell__)r   s   @r
   r   r   	   s#    ;- ;	"+ +r   r   N)r   r    r   r
   <module>r#      s   + +r   