---
title: AVMetricErrorEvent
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avmetricerrorevent
---

# AVMetricErrorEvent

An object that represents a metric event when an error occurs.

## Declaration

```swift
class AVMetricErrorEvent
```

## Topics

### Getting the error

- [error](avfoundation/avmetricerrorevent/error.md)
- [didRecover](avfoundation/avmetricerrorevent/didrecover.md)

## Relationships

### Inherits From

- [AVMetricEvent](avfoundation/avmetricevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Metrics

- [AVMetrics](avfoundation/avmetrics.md)
- [AVMergedMetrics](avfoundation/avmergedmetrics.md)
- [AVVideoPerformanceMetrics](avfoundation/avvideoperformancemetrics.md)
- [AVMetricEventStreamPublisher](avfoundation/avmetriceventstreampublisher.md)
- [AVMetricEvent](avfoundation/avmetricevent.md)
- [Metric event types](avfoundation/metric-event-types.md)
