---
title: lastDisconnectError
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/neurlfiltermanager/lastdisconnecterror
---

# lastDisconnectError

The most recent error that caused the URL Filter to stop.

## Declaration

```swift
var lastDisconnectError: NEURLFilterManager.Error? { get async }
```

## Discussion

Discussion You can check this property after an unexpected status change to determine what caused the filter to stop. tip: This value may be a remnant of a previously-encountered issue, if nothing has caused a more recent error to overwrite it.

## See Also

### Handling errors

- [NEURLFilterManager.Error](networkextension/neurlfiltermanager/error.md)
