attempt to keep track of error in iOS devices