---
title: exceptionHandlingMask()
framework: Exception Handling
role: symbol
role_heading: Instance Method
platforms: [Mac Catalyst 13.0+, macOS 10.0+]
path: exceptionhandling/nsexceptionhandler/exceptionhandlingmask()
---

# exceptionHandlingMask()

Returns a bit mask representing the types of exceptions monitored by the receiver and its handling and logging behavior.

## Declaration

```swift
func exceptionHandlingMask() -> Int
```

## Return Value

Return Value A bit mask composed of one or more constants specifying the types of exceptions monitored and whether they are handled or logged (or both). See Logging and Handling Constants for information about the constants.

## See Also

### Getting and setting exception masks

- [exceptionHangingMask()](exceptionhandling/nsexceptionhandler/exceptionhangingmask().md)
- [setExceptionHandlingMask(_:)](exceptionhandling/nsexceptionhandler/setexceptionhandlingmask(_:).md)
- [setExceptionHangingMask(_:)](exceptionhandling/nsexceptionhandler/setexceptionhangingmask(_:).md)
