func google.golang.org/grpc/status.Errorf

45 uses

	google.golang.org/grpc/status (current package)
		status.go#L63: func Errorf(c codes.Code, format string, a ...any) error {

	google.golang.org/grpc
		balancer_wrapper.go#L364: 		return nil, status.Errorf(codes.Unavailable, "SubConn state is not Ready")
		clientconn.go#L881: 		err = status.Errorf(codes.Unavailable, "error parsing service config: %v", sc.Err)
		clientconn.go#L883: 		err = status.Errorf(codes.Unavailable, "illegal service config type: %T", sc.Config)
		picker_wrapper.go#L166: 					err = status.Errorf(codes.Internal, "received picker error with illegal status: %v", err)
		preloader.go#L46: 		return status.Errorf(codes.Internal, "grpc: unable to get rpcInfo")
		preloader.go#L51: 		return status.Errorf(codes.Internal, "grpc: rpcInfo.preloaderInfo.codec is nil")
		rpc_util.go#L220: 			return nil, status.Errorf(codes.InvalidArgument, "grpc: compressor %q is not registered", name)
		rpc_util.go#L793: 		return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max length allowed on current machine (%d vs. %d)", length, maxInt)
		rpc_util.go#L796: 		return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max (%d vs. %d)", length, maxReceiveMessageSize)
		rpc_util.go#L818: 		return nil, status.Errorf(codes.Internal, "grpc: error while marshaling: %v", err.Error())
		rpc_util.go#L822: 		return nil, status.Errorf(codes.ResourceExhausted, "grpc: message too large (%d bytes)", bufSize)
		rpc_util.go#L840: 		return status.Errorf(codes.Internal, "grpc: error while compressing: %v", err.Error())
		rpc_util.go#L1002: 			return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message: %v", err)
		rpc_util.go#L1006: 			return nil, status.Errorf(codes.ResourceExhausted, "grpc: message after decompression larger than max (%d vs. %d)", len(uncompressed), maxReceiveMessageSize)
		rpc_util.go#L1015: 			return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the message: %v", err)
		rpc_util.go#L1031: 			return nil, status.Errorf(codes.Internal, "grpc: failed to read decompressed data: %v", err)
		rpc_util.go#L1037: 			return nil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max %d", maxReceiveMessageSize)
		rpc_util.go#L1041: 	return nil, status.Errorf(codes.Internal, "grpc: no decompressor available for compressed payload")
		rpc_util.go#L1062: 		return status.Errorf(codes.Internal, "grpc: failed to unmarshal the received message: %v", err)
		rpc_util.go#L1124: 	return status.Errorf(c, format, a...)
		rpc_util.go#L1183: 		return status.Errorf(codes.Internal, "no codec registered for content-subtype %s", c.contentSubtype)
		server.go#L1425: 			return status.Errorf(codes.Internal, "grpc: failed to set send compressor: %v", err)
		server.go#L1844: 		return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
		server.go#L1860: 		return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
		server.go#L1934: 		return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
		stream.go#L342: 				err = status.Errorf(codes.Internal, "config selector returned illegal status: %v", err)
		stream.go#L377: 				return nil, status.Errorf(codes.Internal, "invalid client interceptor type %T", rpcConfig.Interceptor)
		stream.go#L445: 				return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct)
		stream.go#L1074: 		return status.Errorf(codes.Internal, "SendMsg called after CloseSend")
		stream.go#L1099: 		return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payloadLen, *cs.callInfo.maxSendMessageSize)
		stream.go#L1289: 				return status.Errorf(codes.Internal, "grpc: peer compressed the response with %q which is not allowed by AcceptCompressors", ct)
		stream.go#L1444: 				return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct)
		stream.go#L1579: 		return status.Errorf(codes.Internal, "SendMsg called after CloseSend")
		stream.go#L1602: 		return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payload.Len(), *as.callInfo.maxSendMessageSize)
		stream.go#L1631: 				return status.Errorf(codes.Internal, "grpc: peer compressed the response with %q which is not allowed by AcceptCompressors", ct)
		stream.go#L1872: 		return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payloadLen, ss.maxSendMessageSize)

	google.golang.org/grpc/internal/transport
		http2_client.go#L714: 					err = status.Errorf(codes.Internal, "transport: received per-RPC creds error with illegal status: %v", err)
		http2_client.go#L719: 			return nil, status.Errorf(codes.Unauthenticated, "transport: per-RPC creds failed due to error: %v", err)
		http2_client.go#L750: 					err = status.Errorf(codes.Internal, "transport: received per-RPC creds error with illegal status: %v", err)
		http2_client.go#L754: 			return nil, status.Errorf(codes.Internal, "transport: per-RPC creds failed due to error: %v", err)
		http2_client.go#L815: 			return nil, &NewStreamError{Err: status.Errorf(codes.Unavailable, "credentials type %q does not implement the AuthorityValidator interface, but authority override specified with CallAuthority call option", t.authInfo.AuthType())}
		http2_client.go#L818: 			return nil, &NewStreamError{Err: status.Errorf(codes.Unavailable, "failed to validate authority %q : %v", callHdr.Authority, err)}
		http2_client.go#L919: 				hdrListSizeErr = status.Errorf(codes.Internal, "header list size to send violates the maximum size (%d bytes) set by server", *t.maxSendHeaderListSize)
		transport.go#L879: 	return status.Errorf(codes.Internal, "Unexpected error from context packet: %v", err)