Contents

NSError Codes

Error codes in the Cocoa error domain.

Overview

The constants in this enumeration are NSError code numbers in the Cocoa error domain (NSCocoaErrorDomain). Other frameworks, most notably the Application Kit, provide their own NSCocoaErrorDomain error codes.

The enumeration constants beginning with NSFile indicate file-system errors or errors related to file I/O operations. Use the key NSFilePathErrorKey or the NSURLErrorKey (whichever is appropriate) to access the file-system path or URL in the userInfo dictionary of the NSError object.

Topics

Bundle Errors

Cancellation

Cloud-Sharing Errors

Coder Errors

Executable Errors

Formatting Errors

File Errors

File Reading Errors

File Writing Errors

iCloud File Errors

Property List Errors

User Activity Errors

Validation Errors

XPC Errors

URL Errors

Miscellaneous Errors

See Also

Error Codes