class Tryouts::TryoutSyntaxError

Enhanced error with context

def initialize(message, line_number:, context:, source_file: nil)

def initialize(message, line_number:, context:, source_file: nil)
  @line_number = line_number
  @context     = context
  @source_file = source_file
  location = source_file ? "#{source_file}:#{line_number}" : "line #{line_number}"
  super("#{message} at #{location}: #{context}")
end