Consistently use "error code" instead of "status code" for stream and session related errors