---
title: CLError.Code.network
framework: corelocation
role: symbol
role_heading: Case
path: corelocation/clerror-swift.struct/code/network
---

# CLError.Code.network

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

## Declaration

```swift
case network
```

## See Also

### Getting general errors

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