class Aws::EventStream::Errors::ReadBytesExceedLengthError

Raised when reading bytes exceed buffer total bytes

Public Class Methods

new(target_byte, total_len) click to toggle source
Calls superclass method
# File lib/aws-eventstream/errors.rb, line 9
def initialize(target_byte, total_len)
  msg = "Attempting reading bytes to offset #{target_byte} exceeds"\
        " buffer length of #{total_len}"
  super(msg)
end