MonobjcMonobjc Documented Class Library
NSErrorCode Enumeration
NamespacesMonobjc.FoundationNSErrorCode

NSError codes in the Cocoa error domain.

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSErrorCode
Public Enumeration NSErrorCode
public enum class NSErrorCode
Members
MemberDescription
NSFileNoSuchFileError

File-system operation attempted on non-existent file

Available in Mac OS X v10.4 and later.


NSFileLockingError

Failure to get a lock on file

Available in Mac OS X v10.4 and later.


NSFileReadUnknownError

Read error, reason unknown

Available in Mac OS X v10.4 and later.


NSFileReadNoPermissionError

Read error because of a permission problem

Available in Mac OS X v10.4 and later.


NSFileReadInvalidFileNameError

Read error because of an invalid file name

Available in Mac OS X v10.4 and later.


NSFileReadCorruptFileError

Read error because of a corrupted file, bad format, or similar reason

Available in Mac OS X v10.4 and later.


NSFileReadNoSuchFileError

Read error because no such file was found

Available in Mac OS X v10.4 and later.


NSFileReadInapplicableStringEncodingError

Read error because the string encoding was not applicable.

Access the bad encoding from the userInfo dictionary using the NSStringEncodingErrorKey key.

Available in Mac OS X v10.4 and later.


NSFileReadUnsupportedSchemeError

Read error because the specified URL scheme is unsupported

Available in Mac OS X v10.4 and later.


NSFileReadTooLargeError

Read error because the specified file was too large.

Available in Mac OS X v10.5 and later.


NSFileReadUnknownStringEncodingError

Read error because the string coding of the file could not be determined

Available in Mac OS X v10.5 and later.


NSFileWriteUnknownError

Write error, reason unknown

Available in Mac OS X v10.4 and later.


NSFileWriteNoPermissionError

Write error because of a permission problem

Available in Mac OS X v10.4 and later.


NSFileWriteInvalidFileNameError

Write error because of an invalid file name

Available in Mac OS X v10.4 and later.


NSFileWriteInapplicableStringEncodingError

Write error because the string encoding was not applicable.

Access the bad encoding from the userInfo dictionary using the NSStringEncodingErrorKey key.

Available in Mac OS X v10.4 and later.


NSFileWriteUnsupportedSchemeError

Write error because the specified URL scheme is unsupported

Available in Mac OS X v10.4 and later.


NSFileWriteOutOfSpaceError

Write error because of a lack of disk space

Available in Mac OS X v10.4 and later.


NSFileWriteVolumeReadOnlyError

Write error because because the volume is read only.

Available in Mac OS X v10.6 and later.


NSKeyValueValidationError

Key-value coding validation error

Available in Mac OS X v10.4 and later.


NSFormattingError

Formatting error (related to display of data)

Available in Mac OS X v10.4 and later.


NSUserCancelledError

The user cancelled the operation (for example, by pressing Command-period).

This code is for errors that do not require a dialog displayed and might be candidates for special-casing.

Available in Mac OS X v10.4 and later.


NSFileErrorMinimum

Marks the start of the range of error codes reserved for file errors

Available in Mac OS X v10.4 and later.


NSFileErrorMaximum

Marks the end of the range of error codes reserved for file errors

Available in Mac OS X v10.4 and later.


NSValidationErrorMinimum

Marks the start of the range of error codes reserved for validation errors.

Available in Mac OS X v10.4 and later.


NSValidationErrorMaximum

Marks the start and end of the range of error codes reserved for validation errors.

Available in Mac OS X v10.4 and later.


NSFormattingErrorMinimum

Marks the start of the range of error codes reserved for formatting errors.

Available in Mac OS X v10.4 and later.


NSFormattingErrorMaximum

Marks end of the range of error codes reserved for formatting errors.

Available in Mac OS X v10.4 and later.


NSPropertyListReadCorruptError

An error was encountered while parsing the property list.

Available in Mac OS X v10.6 and later.


NSPropertyListReadUnknownVersionError

The version number of the property list is unable to be determined.

Available in Mac OS X v10.6 and later.


NSPropertyListReadStreamError

An stream error was encountered while reading the property list.

Available in Mac OS X v10.6 and later.


NSPropertyListWriteStreamError

An stream error was encountered while writing the property list.

Available in Mac OS X v10.6 and later.


NSPropertyListErrorMinimum

Marks beginning of the range of error codes reserved for property list errors.

Available in Mac OS X v10.6 and later.


NSPropertyListErrorMaximum

Marks end of the range of error codes reserved for property list errors.

Available in Mac OS X v10.6 and later.


NSExecutableErrorMinimum

Marks beginning of the range of error codes reserved for errors related to executable files.

Available in Mac OS X v10.5 and later.


NSExecutableNotLoadableError

Executable is of a type that is not loadable in the current process.

Available in Mac OS X v10.5 and later.


NSExecutableArchitectureMismatchError

Executable does not provide an architecture compatible with the current process.

Available in Mac OS X v10.5 and later.


NSExecutableRuntimeMismatchError

Executable has Objective C runtime information incompatible with the current process.

Available in Mac OS X v10.5 and later.


NSExecutableLoadError

Executable cannot be loaded for some other reason, such as a problem with a library it depends on.

Available in Mac OS X v10.5 and later.


NSExecutableLinkError

Executable fails due to linking issues.

Available in Mac OS X v10.5 and later.


NSExecutableErrorMaximum

Marks end of the range of error codes reserved for errors related to executable files.

Available in Mac OS X v10.5 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)