Exception: Citrus::SyntaxError
Overview
Raised when Citrus::File.parse fails.
Instance Method Summary collapse
-
#initialize(error) ⇒ SyntaxError
constructor
The
errorgiven here is an instance of Citrus::ParseError.
Constructor Details
#initialize(error) ⇒ SyntaxError
The error given here is an instance of Citrus::ParseError.
162 163 164 165 166 167 |
# File 'lib/citrus.rb', line 162 def initialize(error) = "Malformed Citrus syntax on line #{error.line_number}" << " at offset #{error.line_offset}\n#{error.detail}" super() end |