<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPage/NavigationError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "s:6WebKit0A4PageC15NavigationErrorO"
  },
  "title" : "WebPage.NavigationError"
}
-->

# WebPage.NavigationError

A specific error that caused a navigation to fail.

```
enum NavigationError
```

## Topics

### Enumeration Cases

[`case failedProvisionalNavigation(any Error)`](/documentation/WebKit/WebPage/NavigationError/failedProvisionalNavigation(_:))

An error occurred during the early navigation process.

[`case invalidURL`](/documentation/WebKit/WebPage/NavigationError/invalidURL)

The URL to navigate to is invalid.

[`case pageClosed`](/documentation/WebKit/WebPage/NavigationError/pageClosed)

The navigation could not begin because the page has been closed.

[`case webContentProcessTerminated`](/documentation/WebKit/WebPage/NavigationError/webContentProcessTerminated)

The process for the web content of this page was terminated for any reason.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Error`](/documentation/Swift/Error)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)