handling error messages and not successful busines operations