Handle failure case when storing an item