Exception: Consolle::Errors::SyntaxError

Inherits:
ExecutionError show all
Defined in:
lib/consolle/errors.rb

Overview

Syntax error in executed code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ SyntaxError

Returns a new instance of SyntaxError.



44
45
46
# File 'lib/consolle/errors.rb', line 44

def initialize(message)
  super("Syntax error: #{message}")
end