catch error of water