---
title: network
framework: corelocation
role: symbol
role_heading: Type Property
path: corelocation/clerror-swift.struct/network
---

# network

A constant that indicates the network was unavailable or a network error occurred.

## Declaration

```swift
static var network: CLError.Code { get }
```

## See Also

### Getting general errors

- [locationUnknown](corelocation/clerror-swift.struct/locationunknown.md)
- [denied](corelocation/clerror-swift.struct/denied.md)
- [promptDeclined](corelocation/clerror-swift.struct/promptdeclined.md)
- [headingFailure](corelocation/clerror-swift.struct/headingfailure.md)
- [rangingUnavailable](corelocation/clerror-swift.struct/rangingunavailable.md)
- [rangingFailure](corelocation/clerror-swift.struct/rangingfailure.md)
- [CLError.Code](corelocation/clerror-swift.struct/code.md)
