Add logic to handle invalid data for depositing money to an account.