Exception: Ejs::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Ejs::ParseError
- Defined in:
- lib/ejs/parse_error.rb
Instance Attribute Summary collapse
-
#failure_column ⇒ Object
readonly
Returns the value of attribute failure_column.
-
#failure_line ⇒ Object
readonly
Returns the value of attribute failure_line.
-
#failure_reason ⇒ Object
readonly
Returns the value of attribute failure_reason.
Instance Method Summary collapse
-
#initialize(failure_reason, failure_line, failure_column) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(failure_reason, failure_line, failure_column) ⇒ ParseError
Returns a new instance of ParseError.
4 5 6 7 8 9 |
# File 'lib/ejs/parse_error.rb', line 4 def initialize(failure_reason, failure_line, failure_column) @failure_reason = failure_reason @failure_line = failure_line @failure_column = failure_column super(@failure_reason) end |
Instance Attribute Details
#failure_column ⇒ Object (readonly)
Returns the value of attribute failure_column.
3 4 5 |
# File 'lib/ejs/parse_error.rb', line 3 def failure_column @failure_column end |
#failure_line ⇒ Object (readonly)
Returns the value of attribute failure_line.
3 4 5 |
# File 'lib/ejs/parse_error.rb', line 3 def failure_line @failure_line end |
#failure_reason ⇒ Object (readonly)
Returns the value of attribute failure_reason.
3 4 5 |
# File 'lib/ejs/parse_error.rb', line 3 def failure_reason @failure_reason end |