Raise an error if the update or the delete cannot be completed
add specs