add shared errors partial