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

# CLError.Code.deferredCanceled

A constant that indicates your app or the location manager canceled the request for deferred updates.

## Declaration

```swift
case deferredCanceled
```

## Discussion

Discussion This error is returned if you call the disallowDeferredLocationUpdates() method or schedule a new deferred update before the previous deferred update request is processed. The location manager may also report this error too. For example, if the app is in the foreground when a new location is determined, the location manager cancels deferred updates and delivers the location data to your app.

## See Also

### Getting deferred location update errors

- [CLError.Code.deferredFailed](corelocation/clerror-swift.struct/code/deferredfailed.md)
- [CLError.Code.deferredAccuracyTooLow](corelocation/clerror-swift.struct/code/deferredaccuracytoolow.md)
- [CLError.Code.deferredDistanceFiltered](corelocation/clerror-swift.struct/code/deferreddistancefiltered.md)
- [CLError.Code.deferredNotUpdatingLocation](corelocation/clerror-swift.struct/code/deferrednotupdatinglocation.md)
