Exception: Citrus::StandardError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Citrus::StandardError
- Defined in:
- lib/citrus/exceptions.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(message) ⇒ StandardError
constructor
A new instance of StandardError.
Constructor Details
#initialize(message) ⇒ StandardError
Returns a new instance of StandardError.
14 15 16 17 18 |
# File 'lib/citrus/exceptions.rb', line 14 def initialize() line = $parser.input.line_of($pindex) col = $parser.input.column_of($pindex) super("#{} at #{line}:#{col}.") end |