add parse_error class