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

# NSHandleUncaughtExceptionMask

The exception handler handles uncaught exceptions by terminating the thread in which they occur.

## Declaration

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

## See Also

### Constants

- [NSLogUncaughtExceptionMask](exceptionhandling/nsloguncaughtexceptionmask.md)
- [NSLogUncaughtSystemExceptionMask](exceptionhandling/nsloguncaughtsystemexceptionmask.md)
- [NSHandleUncaughtSystemExceptionMask](exceptionhandling/nshandleuncaughtsystemexceptionmask.md)
- [NSLogUncaughtRuntimeErrorMask](exceptionhandling/nsloguncaughtruntimeerrormask.md)
- [NSHandleUncaughtRuntimeErrorMask](exceptionhandling/nshandleuncaughtruntimeerrormask.md)
- [NSLogTopLevelExceptionMask](exceptionhandling/nslogtoplevelexceptionmask.md)
- [NSHandleTopLevelExceptionMask](exceptionhandling/nshandletoplevelexceptionmask.md)
- [NSLogOtherExceptionMask](exceptionhandling/nslogotherexceptionmask.md)
- [NSHandleOtherExceptionMask](exceptionhandling/nshandleotherexceptionmask.md)
