Exception: GM3156::InvalidCaptureDataLengthError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gm3156/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, data) ⇒ InvalidCaptureDataLengthError

Returns a new instance of InvalidCaptureDataLengthError.



7
8
9
10
# File 'lib/gm3156/errors.rb', line 7

def initialize(msg, data)
  @data = data
  super(msg)
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/gm3156/errors.rb', line 5

def data
  @data
end