Yes, Jerusalem Cherry is toxic, but it is not actually a pepper plant, it only looks like one. It is Solanum Pseudocapsicum, and hence it is not a member of the Capsicum genus (it's genus is Solanum). Therefore it is not a chile pepper. Anything in the genus Capsicum, e.g., Capsium Annuum, Capsicum Chinense, Capsicum Baccatum, etc will be edible and non-toxic. That Jerusalem Cherry is a good one to be aware of though, since it resembles a pepper, but it actually is not. It's a little disturbing to hear that some people are mislabeling that thing as an ornamental pepperÂ
 I guess the lesson is to be very sure that any "ornamental peppers" you buy are really chile peppers, and not something else that only resembles a pepper.Â