Catch integer errors