---
title: HV_EXIT_REASON_EXCEPTION
framework: hypervisor
role: symbol
role_heading: Global Variable
path: hypervisor/hv_exit_reason_exception
---

# HV_EXIT_REASON_EXCEPTION

The value that identifies traps caused by the guest operations.

## Declaration

```swift
var HV_EXIT_REASON_EXCEPTION: hv_exit_reason_t { get }
```

## See Also

### Exit Reasons

- [HV_EXIT_REASON_CANCELED](hypervisor/hv_exit_reason_canceled.md)
- [HV_EXIT_REASON_VTIMER_ACTIVATED](hypervisor/hv_exit_reason_vtimer_activated.md)
- [HV_EXIT_REASON_UNKNOWN](hypervisor/hv_exit_reason_unknown.md)
