<!--
{
  "documentType" : "article",
  "framework" : "ExceptionHandling",
  "identifier" : "/documentation/ExceptionHandling/exceptionhandling-enumerations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "ExceptionHandling Enumerations"
}
-->

# ExceptionHandling Enumerations

## Topics

### Enumerations

[Logging and Handling Constants](/documentation/ExceptionHandling/logging-and-handling-constants)

Use one or more of the following constants in the parameter of [`setExceptionHandlingMask(_:)`](/documentation/ExceptionHandling/NSExceptionHandler/setExceptionHandlingMask(_:))
to specify the types of exceptions that the exception handler should monitor and
whether it should handle or log them.

[System Hang Constants](/documentation/ExceptionHandling/system-hang-constants)

Use one or more of the following constants in the parameter of [`setExceptionHangingMask(_:)`](/documentation/ExceptionHandling/NSExceptionHandler/setExceptionHangingMask(_:))
to specify the types of exceptions that cause the exception to halt execution so
a debugger can be attached.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)