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

39 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
		clientconn.go#L67: 	ErrClientConnClosing = status.Error(codes.Canceled, "grpc: the client connection is closing")
		clientconn.go#L1491: 			return nil, status.Error(codes.Canceled, "the provided transport is no longer valid to use")
		picker_wrapper.go#L133: 					return pick{}, status.Error(codes.DeadlineExceeded, errStr)
		picker_wrapper.go#L135: 					return pick{}, status.Error(codes.Canceled, errStr)
		picker_wrapper.go#L176: 			return pick{}, status.Error(codes.Unavailable, err.Error())
		rpc_util.go#L1008: var errContextCanceled = status.Error(codes.Canceled, context.Canceled.Error())
		rpc_util.go#L1009: var errContextDeadline = status.Error(codes.DeadlineExceeded, context.DeadlineExceeded.Error())
		rpc_util.go#L1021: 		return status.Error(codes.Internal, err.Error())
		rpc_util.go#L1026: 		return status.Error(codes.Unavailable, e.Desc)
		rpc_util.go#L1035: 	return status.Error(codes.Unknown, err.Error())
		stream.go#L194: 			return nil, status.Error(codes.Internal, err.Error())
		stream.go#L200: 					return nil, status.Error(codes.Internal, err.Error())
		stream.go#L1343: 				as.finish(status.Error(codes.Canceled, "grpc: the SubConn is closing"))
		stream.go#L1628: 		return status.Error(codes.Internal, err.Error())
		stream.go#L1636: 		return status.Error(codes.Internal, err.Error())
		stream.go#L1788: 				return status.Error(codes.Internal, "cardinality violation: received no request message from non-client-streaming RPC")
		stream.go#L1793: 			err = status.Error(codes.Internal, io.ErrUnexpectedEOF.Error())
		stream.go#L1829: 	return status.Error(codes.Internal, "cardinality violation: received multiple request messages for non-client-streaming RPC")

	google.golang.org/grpc/health
		server.go#L69: 	return nil, status.Error(codes.NotFound, "unknown service")
		server.go#L125: 				return status.Error(codes.Canceled, "Stream has ended.")
		server.go#L129: 			return status.Error(codes.Canceled, "Stream has ended.")

	google.golang.org/grpc/health/grpc_health_v1
		health_grpc.pb.go#L191: 	return nil, status.Error(codes.Unimplemented, "method Check not implemented")
		health_grpc.pb.go#L194: 	return nil, status.Error(codes.Unimplemented, "method List not implemented")
		health_grpc.pb.go#L197: 	return status.Error(codes.Unimplemented, "method Watch not implemented")

	google.golang.org/grpc/internal/transport
		handler_server.go#L110: 			return nil, status.Error(codes.Internal, msg)
		handler_server.go#L130: 				return nil, status.Error(codes.Internal, msg)
		handler_server.go#L495: 			return status.Error(code, se.Error())
		handler_server.go#L499: 		return status.Error(codes.Canceled, err.Error())
		http2_client.go#L593: 			return nil, status.Error(codes.DeadlineExceeded, context.DeadlineExceeded.Error())
		http2_client.go#L691: 				return nil, status.Error(codes.Unauthenticated, "transport: cannot send secure credentials on an insecure connection")
		http2_client.go#L1678: 					t.closeStream(s, status.Error(code, msg), true, http2.ErrCodeProtocol, status.New(code, msg), nil, false)
		http2_server.go#L62: 	ErrIllegalHeaderWrite = status.Error(codes.Internal, "transport: SendHeader called multiple times")
		http2_server.go#L65: 	ErrHeaderListSizeLimitViolation = status.Error(codes.Internal, "transport: trying to send header list size larger than the limit set by peer")
		http2_server.go#L1030: 			return status.Error(codes.Unavailable, e.Desc)
		transport.go#L668: 	errStreamDrain = status.Error(codes.Unavailable, "the connection is draining")
		transport.go#L695: 		return status.Error(codes.DeadlineExceeded, err.Error())
		transport.go#L697: 		return status.Error(codes.Canceled, err.Error())