Exception: Fitreader::UnknownFieldTypeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Fitreader::UnknownFieldTypeError
- Defined in:
- lib/fitreader/errors.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#definition ⇒ Object
readonly
Returns the value of attribute definition.
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(definition, field, data, reason) ⇒ UnknownFieldTypeError
constructor
A new instance of UnknownFieldTypeError.
Constructor Details
#initialize(definition, field, data, reason) ⇒ UnknownFieldTypeError
Returns a new instance of UnknownFieldTypeError.
4 5 6 7 8 9 |
# File 'lib/fitreader/errors.rb', line 4 def initialize(definition, field, data, reason) @field = field @definition = definition @data = data @reason = reason end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
3 4 5 |
# File 'lib/fitreader/errors.rb', line 3 def data @data end |
#definition ⇒ Object (readonly)
Returns the value of attribute definition.
3 4 5 |
# File 'lib/fitreader/errors.rb', line 3 def definition @definition end |
#field ⇒ Object (readonly)
Returns the value of attribute field.
3 4 5 |
# File 'lib/fitreader/errors.rb', line 3 def field @field end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
3 4 5 |
# File 'lib/fitreader/errors.rb', line 3 def reason @reason end |