@tarekziade review about sendError.