Exception: Odin::Transform::TransformParser::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Odin::Transform::TransformParser::ParseError
- Defined in:
- lib/odin/transform/transform_parser.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(message, code: "T001", line: nil) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, code: "T001", line: nil) ⇒ ParseError
Returns a new instance of ParseError.
116 117 118 119 120 |
# File 'lib/odin/transform/transform_parser.rb', line 116 def initialize(, code: "T001", line: nil) @code = code @line = line super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
114 115 116 |
# File 'lib/odin/transform/transform_parser.rb', line 114 def code @code end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
114 115 116 |
# File 'lib/odin/transform/transform_parser.rb', line 114 def line @line end |