Exception: NOTAM::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- NOTAM::ParseError
- Defined in:
- lib/notam/errors.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
readonly
Returns the value of attribute item.
Instance Method Summary collapse
-
#initialize(message, item: nil) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, item: nil) ⇒ ParseError
Returns a new instance of ParseError.
7 8 9 10 |
# File 'lib/notam/errors.rb', line 7 def initialize(, item: nil) @item = item super() end |
Instance Attribute Details
#item ⇒ Object (readonly)
Returns the value of attribute item.
5 6 7 |
# File 'lib/notam/errors.rb', line 5 def item @item end |