Both must be true to throw the error