In my point of view, it's a critical error related to a network issue, hence the use of alert().