Add error message for deleting non-existant indices and clean error handling code [#75395892]

Signed-off-by: Ted Young <tyoung@pivotal.io>