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

28 uses

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

	google.golang.org/grpc
		balancer_conn_wrappers.go#L422: var errSubConnNotReady = status.Error(codes.Unavailable, "SubConn not currently connected")
		clientconn.go#L67: 	ErrClientConnClosing = status.Error(codes.Canceled, "grpc: the client connection is closing")
		clientconn.go#L1359: 			return nil, status.Error(codes.Canceled, "the provided transport is no longer valid to use")
		picker_wrapper.go#L120: 					return nil, balancer.PickResult{}, status.Error(codes.DeadlineExceeded, errStr)
		picker_wrapper.go#L122: 					return nil, balancer.PickResult{}, status.Error(codes.Canceled, errStr)
		picker_wrapper.go#L152: 			return nil, balancer.PickResult{}, status.Error(codes.Unavailable, err.Error())
		rpc_util.go#L836: 		return status.Error(codes.DeadlineExceeded, err.Error())
		rpc_util.go#L838: 		return status.Error(codes.Canceled, err.Error())
		rpc_util.go#L840: 		return status.Error(codes.Internal, err.Error())
		rpc_util.go#L845: 		return status.Error(codes.Unavailable, e.Desc)
		rpc_util.go#L854: 	return status.Error(codes.Unknown, err.Error())
		stream.go#L173: 			return nil, status.Error(codes.Internal, err.Error())
		stream.go#L1263: 				as.finish(status.Error(codes.Canceled, "grpc: the SubConn is closing"))
		stream.go#L1542: 		return status.Error(codes.Internal, err.Error())
		stream.go#L1550: 		return status.Error(codes.Internal, err.Error())

	google.golang.org/grpc/internal/transport
		handler_server.go#L92: 			return nil, status.Error(codes.Internal, msg)
		handler_server.go#L112: 				return nil, status.Error(codes.Internal, msg)
		handler_server.go#L470: 			return status.Error(code, se.Error())
		handler_server.go#L474: 		return status.Error(codes.Canceled, err.Error())
		http2_client.go#L660: 				return nil, status.Error(codes.Unauthenticated, "transport: cannot send secure credentials on an insecure connection")
		http2_client.go#L1619: 					t.closeStream(s, status.Error(code, msg), true, http2.ErrCodeProtocol, status.New(code, msg), nil, false)
		http2_server.go#L57: 	ErrIllegalHeaderWrite = status.Error(codes.Internal, "transport: SendHeader called multiple times")
		http2_server.go#L60: 	ErrHeaderListSizeLimitViolation = status.Error(codes.Internal, "transport: trying to send header list size larger than the limit set by peer")
		transport.go#L767: 	errStreamDrain = status.Error(codes.Unavailable, "the connection is draining")
		transport.go#L818: 		return status.Error(codes.DeadlineExceeded, err.Error())
		transport.go#L820: 		return status.Error(codes.Canceled, err.Error())