Secure UUID: No internet connection error handling

Hi,

I’m using secure UUID’s. when there is no internet connection this function returns an empty array:

beaconManager(manager: AnyObject, didRangeBeacons beacons: [ESTBeacon], inRegion region: CLBeaconRegion)

But an empty array could also mean that there are simply no beacons in proximity.

However, I would like to be able to display an error message to the user that indicates that they need an internet connection.

I tried these functions:

beaconManager(manager: AnyObject, monitoringDidFailForRegion region: CLBeaconRegion?, withError error: NSError)
beaconManager(manager: AnyObject, rangingBeaconsDidFailForRegion region: CLBeaconRegion?, withError error: NSError)
beaconManager(manager: AnyObject, didFailWithError error: NSError)

but none of them get called.