Exception: GM3156::InvalidCaptureDataLengthError
- Inherits:
-
StandardError
- Object
- StandardError
- GM3156::InvalidCaptureDataLengthError
- Defined in:
- lib/gm3156/errors.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(msg, data) ⇒ InvalidCaptureDataLengthError
constructor
A new instance of InvalidCaptureDataLengthError.
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
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/gm3156/errors.rb', line 5 def data @data end |