ATM error check functionality