<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/exception-names",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Exception Names"
}
-->

# Exception Names

Constant that defines the name of a file operation exception.

## Topics

### Constants

[`static let fileHandleOperationException: NSExceptionName`](/documentation/Foundation/NSExceptionName/fileHandleOperationException)

Raised by `NSFileHandle` if attempts to determine file-handle type fail or if attempts to read from a file or channel fail.



---

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)