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

# errors

All errors that occurred in the extension context.

## Declaration

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

## Discussion

Discussion Provides an array of all parse-time and runtime errors for the extension and extension context, with repeat errors consolidated into a single entry for the original occurrence. If no errors occurred, an empty array is returned.
