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

23 uses

	google.golang.org/grpc/status (current package)
		status.go#L57: func Error(c codes.Code, msg string) error {
		status.go#L63: 	return Error(c, fmt.Sprintf(format, a...))

	google.golang.org/grpc
		clientconn.go#L66: 	ErrClientConnClosing = status.Error(codes.Canceled, "grpc: the client connection is closing")
		clientconn.go#L1352: 			return nil, status.Error(codes.Canceled, "the provided transport is no longer valid to use")
		picker_wrapper.go#L113: 					return nil, nil, status.Error(codes.DeadlineExceeded, errStr)
		picker_wrapper.go#L115: 					return nil, nil, status.Error(codes.Canceled, errStr)
		picker_wrapper.go#L142: 			return nil, nil, status.Error(codes.Unavailable, err.Error())
		rpc_util.go#L780: 		return status.Error(codes.Internal, err.Error())
		rpc_util.go#L787: 		return status.Error(codes.Unavailable, e.Desc)
		rpc_util.go#L791: 			return status.Error(codes.DeadlineExceeded, err.Error())
		rpc_util.go#L793: 			return status.Error(codes.Canceled, err.Error())
		rpc_util.go#L796: 	return status.Error(codes.Unknown, err.Error())
		server.go#L1199: 			appErr = status.Error(codes.Unknown, appErr.Error())
		stream.go#L1110: 				as.finish(status.Error(codes.Canceled, "grpc: the SubConn is closing"))

	google.golang.org/grpc/internal/transport
		handler_server.go#L456: 			return status.Error(code, se.Error())
		handler_server.go#L460: 		return status.Error(codes.Canceled, err.Error())
		http2_client.go#L553: 			return nil, status.Error(codes.Unauthenticated, "transport: cannot send secure credentials on an insecure connection")
		http2_client.go#L1310: 					t.closeStream(s, status.Error(code, msg), true, http2.ErrCodeProtocol, status.New(code, msg), nil, false)
		http_util.go#L229: 		return status.Error(codes.Internal, "peer header list size exceeded limit")
		http_util.go#L273: 	return status.Error(code, d.constructHTTPErrMsg())
		transport.go#L748: 	errStreamDrain = status.Error(codes.Unavailable, "the connection is draining")
		transport.go#L799: 		return status.Error(codes.DeadlineExceeded, err.Error())
		transport.go#L801: 		return status.Error(codes.Canceled, err.Error())