error throws exceptions with the message determined in parser.