a
    ž˜ëjÙ  ã                   @   s8   d Z ddlZddlmZ ddlmZ G dd„ deƒZdS )zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.é    N)ÚOptional)ÚUnstructuredClientErrorc                       s@   e Zd ZdZdeejeee dœ‡ fdd„Z	e
dd„ ƒZ‡  ZS )	ÚResponseValidationErrorzeError raised when there is a type mismatch between the response data and the expected Pydantic model.N)ÚmessageÚraw_responseÚcauseÚbodyc                    s"   |› d|› �}t ƒ  |||¡ d S )Nz: )ÚsuperÚ__init__)Úselfr   r   r   r   ©Ú	__class__© úx/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/models/errors/responsevalidationerror.pyr
      s    z ResponseValidationError.__init__c                 C   s   | j S )z%Normally the Pydantic ValidationError)Ú	__cause__)r   r   r   r   r      s    zResponseValidationError.cause)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚhttpxÚResponseÚ	Exceptionr   r
   Úpropertyr   Ú__classcell__r   r   r   r   r   	   s    ûû
r   )r   r   Útypingr   Z!unstructured_client.models.errorsr   r   r   r   r   r   Ú<module>   s   