Large quantities of the seed pods can be toxic: https://homeguides.sfgate.com/lathyrus-latifolius-edible-104906.html