class Aws::EventStream::Errors::ReadBytesExceedLengthError

Raised when reading bytes exceed buffer total bytes

def initialize(target_byte, total_len)

def initialize(target_byte, total_len)
  msg = "Attempting reading bytes to offset #{target_byte} exceeds"\
        " buffer length of #{total_len}"
  super(msg)
end