File: //lib/python3/dist-packages/botocore/__pycache__/eventstream.cpython-310.pyc
o
.&�a)P � @ s d Z ddlmZ ddlmZ ddlmZ dZdZdZ G dd � d e
�ZG d
d� de�ZG dd
� d
e�Z
G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Zd#dd�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!e�Zd"S )$zBinary Event Stream Decoding � )�crc32)�unpack)�EventStreamError� i i c @ s e Zd ZdZdS )�ParserErrorz.Base binary flow encoding parsing exception. N)�__name__�
__module__�__qualname__�__doc__� r r �6/usr/lib/python3/dist-packages/botocore/eventstream.pyr s r c � e Zd ZdZ� fdd�Z� ZS )�DuplicateHeaderz%Duplicate header found in the event. c s d| }t t| ��|� d S )NzDuplicate header present: "%s")�superr �__init__)�self�header�message�� __class__r r r s zDuplicateHeader.__init__�r r r r
r �
__classcell__r r r r r � r c r
)�InvalidHeadersLengthz+Headers length is longer than the maximum. c � d|t f }tt| ��|� d S )Nz.Header length of %s exceeded the maximum of %s)�_MAX_HEADERS_LENGTHr r r �r �lengthr r r r r '