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

# deferredCanceled

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

## Declaration

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

## 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

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