code: def unexpected(lexer: Lexer, at_token: Token = None) -> GraphQLError:
      
      token = at_token or lexer.token
      return GraphQLSyntaxError(lexer.source, token.start, f"Unexpected {token.desc}")
docs: Create an error when an unexpected lexed token is encountered.