File: //lib/python3/dist-packages/boto/beanstalk/__pycache__/exception.cpython-312.pyc
�
ckF[S � �| � d dl Z d dlmZ d dlmZ d� Z G d� de� Z G d� de� Z G d � d
e� Z G d� de� Z G d
� de� Z
G d� de� Z G d� de� Z G d� de� Z
G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d� de� 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 G d)� d*e� Z G d+� d,e� Z G d-� d.e� Z G d/� d0e� Z G d1� d2e� Z G d3� d4e� Z G d5� d6e� Z G d7� d8e� Z G d9� d:e� Z y);� N)�json)�BotoServerErrorc �� � | j }|j d� r|j d� } t t j
t |� | � }|S # t $ r | cY S w xY w)N� Exception)�code�endswith�rstrip�getattr�sys�modules�__name__�AttributeError)�er �simple_es �:/usr/lib/python3/dist-packages/boto/beanstalk/exception.py�simpler sc � ��6�6�D��}�}�[�!��{�{�;�'���7�7�3�;�;�x�0�$�7��:��
�O�� � ����s �'A �A'�&A'c �* � � e Zd Z� fd�Zd� Zd� Z� xZS )�SimpleExceptionc � �� t t | � |j |j |j
� | j | _ y )N)�superr �__init__�status�reason�body�message�
error_message)�selfr � __class__s �r r zSimpleException.__init__ s. �� �
�o�t�-�a�h�h����!�&�&�I�!�\�\��� c �N � | j j dz | j z S �Nz: �r r
r �r s r �__repr__zSimpleException.__repr__ �"