What is the "thumbs up" duration time for displaying notification?
Context: mobile app which is a client for the REST web service. I'd like to show error notification for cases when connection is interrupted, user goes offline or received data is "damaged".
Would the permanent, user-dismissable error would be better in this case? My colleague argues that for temporary notification shown for a few (2?) seconds user may be looking away and miss the notification altogether. My stand in this case is that we can't solve user's attention span problems.
What are your takes on this topic?
update
From user's POV the error would simply be something along the lines of "We could not load your selected section of the catalog". I'm not going to show any technical information at all. It'd be along the lines of (as stated in Anna's answer) "no internet connection" or "unable to list items in your selected category".