<commit_before>package proto

import (
	"google.golang.org/grpc"
	"google.golang.org/grpc/codes"
)

var (
	AuthErr         = grpc.Errorf(codes.InvalidArgument, "invalid credentials")
	InternalErr     = grpc.Errorf(codes.Internal, "server fault")
	InvalidArgErr   = grpc.Errorf(codes.InvalidArgument, "invalid arguments")
	InvalidTokenErr = grpc.Errorf(codes.PermissionDenied, "invalid token")
	NotLoggedErr    = grpc.Errorf(codes.Unauthenticated, "not authenticated")<commit_msg>More comments<commit_after>package proto

import (
	"google.golang.org/grpc"
	"google.golang.org/grpc/codes"
)

var (
	// AuthErr represent an authentication failure (ie, wrong password).
	AuthErr         = grpc.Errorf(codes.InvalidArgument, "invalid credentials")

	// InternalErr represents an internal crash of the server.
	InternalErr     = grpc.Errorf(codes.Internal, "server fault")

	// InvalidArgErr signals the caller that the arguments given with the request
	// are invalid.
	InvalidArgErr   = grpc.Errorf(codes.InvalidArgument, "invalid arguments")

	// InvalidTokenErr signals the caller that its token is invalid, and a new
	// session should be started through an invocation of Login().
	InvalidTokenErr = grpc.Errorf(codes.PermissionDenied, "invalid token")

	// NotLoggedErr means that the caller tried to execute any operation different 
	// from Login without a valid token.
	NotLoggedErr    = grpc.Errorf(codes.Unauthenticated, "not authenticated")
{'fraction_non_alphanumeric': 0.09744298548721493, 'fraction_numerical': 0.0, 'mean_word_length': 4.505703422053232, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3666944', 'n_tokens_mistral': 426, 'n_tokens_neox': 411, 'n_words': 119}