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

48 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#L368: 		return nil, status.Errorf(codes.Unavailable, "SubConn state is not Ready")
		clientconn.go#L827: 		err = status.Errorf(codes.Unavailable, "error parsing service config: %v", sc.Err)
		clientconn.go#L829: 		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 is nil")
		preloader.go#L54: 		return status.Errorf(codes.Internal, "grpc: rpcInfo.preloaderInfo.codec is nil")
		rpc_util.go#L699: 		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#L702: 		return 0, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message larger than max (%d vs. %d)", length, maxReceiveMessageSize)
		rpc_util.go#L724: 		return nil, status.Errorf(codes.Internal, "grpc: error while marshaling: %v", err.Error())
		rpc_util.go#L728: 		return nil, status.Errorf(codes.ResourceExhausted, "grpc: message too large (%d bytes)", bufSize)
		rpc_util.go#L746: 		return status.Errorf(codes.Internal, "grpc: error while compressing: %v", err.Error())
		rpc_util.go#L891: 			return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message: %v", err)
		rpc_util.go#L894: 			return nil, status.Errorf(codes.ResourceExhausted, "grpc: message after decompression larger than max (%d vs. %d)", len(uncompressed), maxReceiveMessageSize)
		rpc_util.go#L901: 			return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the message: %v", err)
		rpc_util.go#L913: 			return nil, status.Errorf(codes.Internal, "grpc: failed to read decompressed data: %v", err)
		rpc_util.go#L918: 			return nil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max %d", maxReceiveMessageSize)
		rpc_util.go#L922: 	return nil, status.Errorf(codes.Internal, "grpc: no decompressor available for compressed payload")
		rpc_util.go#L943: 		return status.Errorf(codes.Internal, "grpc: failed to unmarshal the received message: %v", err)
		rpc_util.go#L1005: 	return status.Errorf(c, format, a...)
		rpc_util.go#L1064: 		return status.Errorf(codes.Internal, "no codec registered for content-subtype %s", c.contentSubtype)
		server.go#L1198: 		return status.Errorf(codes.ResourceExhausted, "grpc: trying to send message larger than max (%d vs. %d)", payloadLen, s.opts.maxSendMessageSize)
		server.go#L1377: 			return status.Errorf(codes.Internal, "grpc: failed to set send compressor: %v", err)
		server.go#L1405: 			return status.Errorf(codes.Internal, "grpc: error unmarshalling request: %v", err)
		server.go#L1707: 			return status.Errorf(codes.Internal, "grpc: failed to set send compressor: %v", err)
		server.go#L2092: 		return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
		server.go#L2108: 		return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
		server.go#L2182: 		return status.Errorf(codes.Internal, "grpc: failed to fetch the stream from the context %v", ctx)
		stream.go#L232: 				err = status.Errorf(codes.Internal, "config selector returned illegal status: %v", err)
		stream.go#L314: 				return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct)
		stream.go#L912: 		return status.Errorf(codes.Internal, "SendMsg called after CloseSend")
		stream.go#L937: 		return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payloadLen, *cs.callInfo.maxSendMessageSize)
		stream.go#L1180: 	return status.Errorf(codes.Internal, "cardinality violation: expected <EOF> for non server-streaming RPCs, but received another message")
		stream.go#L1295: 				return nil, status.Errorf(codes.Internal, "grpc: Compressor is not installed for requested grpc-encoding %q", ct)
		stream.go#L1419: 		return status.Errorf(codes.Internal, "SendMsg called after CloseSend")
		stream.go#L1442: 		return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payload.Len(), *as.callInfo.maxSendMessageSize)
		stream.go#L1504: 	return status.Errorf(codes.Internal, "cardinality violation: expected <EOF> for non server-streaming RPCs, but received another message")
		stream.go#L1716: 		return status.Errorf(codes.ResourceExhausted, "trying to send message larger than max (%d vs. %d)", payloadLen, ss.maxSendMessageSize)

	google.golang.org/grpc/health
		server.go#L78: 		return nil, status.Errorf(codes.ResourceExhausted, "server health list exceeds maximum capacity: %d", maxAllowedServices)

	google.golang.org/grpc/internal/transport
		http2_client.go#L666: 					err = status.Errorf(codes.Internal, "transport: received per-RPC creds error with illegal status: %v", err)
		http2_client.go#L671: 			return nil, status.Errorf(codes.Unauthenticated, "transport: per-RPC creds failed due to error: %v", err)
		http2_client.go#L699: 					err = status.Errorf(codes.Internal, "transport: received per-RPC creds error with illegal status: %v", err)
		http2_client.go#L703: 			return nil, status.Errorf(codes.Internal, "transport: per-RPC creds failed due to error: %v", err)
		http2_client.go#L761: 			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#L764: 			return nil, &NewStreamError{Err: status.Errorf(codes.Unavailable, "failed to validate authority %q : %v", callHdr.Authority, err)}
		http2_client.go#L865: 				hdrListSizeErr = status.Errorf(codes.Internal, "header list size to send violates the maximum size (%d bytes) set by server", *t.maxSendHeaderListSize)
		transport.go#L699: 	return status.Errorf(codes.Internal, "Unexpected error from context packet: %v", err)