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

# default()

Returns the singleton NSExceptionHandler instance.

## Declaration

```swift
class func `default`() -> NSExceptionHandler!
```

## See Also

### Related Documentation

- [Exception Programming Topics](apple-archive/documentation/Cocoa/Conceptual/Exceptions.md)
