Error handling in Search View