---
title: NSHangOnUncaughtRuntimeErrorMask
framework: Exception Handling
role: symbol
role_heading: Global Variable
platforms: [Mac Catalyst 13.0+, macOS 10.0+]
path: exceptionhandling/nshangonuncaughtruntimeerrormask
---

# NSHangOnUncaughtRuntimeErrorMask

The exception handler suspends execution when it detects an uncaught runtime error.

## Declaration

```swift
var NSHangOnUncaughtRuntimeErrorMask: Int { get }
```

## See Also

### Constants

- [NSHangOnUncaughtExceptionMask](exceptionhandling/nshangonuncaughtexceptionmask.md)
- [NSHangOnUncaughtSystemExceptionMask](exceptionhandling/nshangonuncaughtsystemexceptionmask.md)
- [NSHangOnTopLevelExceptionMask](exceptionhandling/nshangontoplevelexceptionmask.md)
- [NSHangOnOtherExceptionMask](exceptionhandling/nshangonotherexceptionmask.md)
