---
title: errors
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/errors
---

# errors

An array of all errors that occurred during the processing of the extension.

## Declaration

```swift
var errors: [any Error] { get }
```

## Discussion

Discussion Provides an array of all parse-time errors for the extension, with repeat errors consolidated into a single entry for the original occurrence only. If no errors occurred, an empty array is returned. note: Once the extension is loaded, use the errors property on an extension context to monitor any runtime errors, as they can occur after the extension is loaded.
