Exception: Odin::Transform::Expr::ExprSyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- Odin::Transform::Expr::ExprSyntaxError
- Defined in:
- lib/odin/transform/transform_expr.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message) ⇒ ExprSyntaxError
constructor
A new instance of ExprSyntaxError.
Constructor Details
#initialize(message) ⇒ ExprSyntaxError
Returns a new instance of ExprSyntaxError.
22 23 24 25 |
# File 'lib/odin/transform/transform_expr.rb', line 22 def initialize() @code = "T015" super("Invalid %expr formula: #{}") end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
20 21 22 |
# File 'lib/odin/transform/transform_expr.rb', line 20 def code @code end |