Exception: Fit::ParseException
- Inherits:
-
Exception
- Object
- Exception
- Fit::ParseException
- Defined in:
- lib/fit/parse.rb
Instance Attribute Summary collapse
-
#error_offset ⇒ Object
readonly
Returns the value of attribute error_offset.
Instance Method Summary collapse
-
#initialize(message, offset) ⇒ ParseException
constructor
A new instance of ParseException.
Constructor Details
#initialize(message, offset) ⇒ ParseException
Returns a new instance of ParseException.
10 11 12 13 |
# File 'lib/fit/parse.rb', line 10 def initialize , offset super @error_offset = offset end |
Instance Attribute Details
#error_offset ⇒ Object (readonly)
Returns the value of attribute error_offset.
9 10 11 |
# File 'lib/fit/parse.rb', line 9 def error_offset @error_offset end |