# File lib/whois/record/parser/scanners/base.rb, line 57 def error!(message) if @input.eos? raise ParserError, "Unexpected end of input." else raise ParserError, "#{message}: #{@input.peek(@input.string.length)}" end end