Exception: Walrus::Grammar::CompileError

Inherits:
Exception
  • Object
show all
Defined in:
lib/walrus/compile_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(message, info = {}) ⇒ CompileError

take an optional hash (for packing extra info into exception?) position in AST/source file line number, column number filename



32
33
34
# File 'lib/walrus/compile_error.rb', line 32

def initialize(message, info = {})
  super message
end