Depends on the kind of network error.
Many network errors just need to be retried. ExAws for example will retry a configurable number of times with various backoff amounts for network errors.
If retries fail or the error is unrcoverable the convention is to just crash. You can wrap the stream in a try construct if you want to take particular action.






















