Exception: ArrowFormat::FileReadError

Inherits:
ReadError show all
Defined in:
lib/arrow-format/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(buffer, message) ⇒ FileReadError

Returns a new instance of FileReadError.



26
27
28
29
# File 'lib/arrow-format/error.rb', line 26

def initialize(buffer, message)
  @buffer = buffer
  super("#{message}: #{@buffer.inspect}")
end

Instance Attribute Details

#bufferObject (readonly)

Returns the value of attribute buffer.



25
26
27
# File 'lib/arrow-format/error.rb', line 25

def buffer
  @buffer
end