Add error handling to Party::PartyFactory#create