Resolved! when exactly void HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c) will be triggered and i have enabled the error interrupt in IOC setting but i could not understand occasion of this happening .
HAL_I2C_IsDeviceReady is good option to check sensor presence but while i2c sensor working incase of error occurrence will error interrupt will be triggered ?