NSCocoaError 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
與 Cocoa 開發相關的各種錯誤列舉。
public enum NSCocoaError
type NSCocoaError =
- 繼承
-
NSCocoaError
欄位
名稱 | 值 | Description |
---|---|---|
FileErrorMinimum | 0 | |
None | 0 | |
FileNoSuchFile | 4 | |
FileLocking | 255 | |
FileReadUnknown | 256 | |
FileReadNoPermission | 257 | |
FileReadInvalidFileName | 258 | |
FileReadCorruptFile | 259 | |
FileReadNoSuchFile | 260 | |
FileReadInapplicableStringEncoding | 261 | |
FileReadUnsupportedScheme | 262 | |
FileReadTooLarge | 263 | |
FileReadUnknownStringEncoding | 264 | |
FileWriteUnknown | 512 | |
FileWriteNoPermission | 513 | |
FileWriteInvalidFileName | 514 | |
FileWriteFileExists | 516 | |
FileWriteInapplicableStringEncoding | 517 | |
FileWriteUnsupportedScheme | 518 | |
FileWriteOutOfSpace | 640 | |
FileWriteVolumeReadOnly | 642 | |
FileManagerUnmountUnknownError | 768 | |
FileManagerUnmountBusyError | 769 | |
FileErrorMaximum | 1023 | |
KeyValueValidation | 1024 | |
ValidationErrorMinimum | 1024 | |
ValidationErrorMaximum | 2047 | |
Formatting | 2048 | |
FormattingErrorMinimum | 2048 | |
FormattingErrorMaximum | 2559 | |
UserCancelled | 3072 | |
FeatureUnsupported | 3328 | |
ExecutableErrorMinimum | 3584 | |
ExecutableNotLoadable | 3584 | |
ExecutableArchitectureMismatch | 3585 | |
ExecutableRuntimeMismatch | 3586 | |
ExecutableLoad | 3587 | |
ExecutableLink | 3588 | |
ExecutableErrorMaximum | 3839 | |
PropertyListErrorMinimum | 3840 | |
PropertyListReadCorrupt | 3840 | |
PropertyListReadUnknownVersion | 3841 | |
PropertyListReadStream | 3842 | |
PropertyListWriteStream | 3851 | |
PropertyListWriteInvalid | 3852 | |
PropertyListErrorMaximum | 4095 | |
XpcConnectionErrorMinimum | 4096 | |
XpcConnectionInterrupted | 4097 | |
XpcConnectionInvalid | 4099 | |
XpcConnectionReplyInvalid | 4101 | |
XpcConnectionErrorMaximum | 4224 | |
UbiquitousFileErrorMinimum | 4352 | |
UbiquitousFileUnavailable | 4353 | |
UbiquitousFileNotUploadedDueToQuota | 4354 | |
UbiquitousFileUbiquityServerNotAvailable | 4355 | |
UbiquitousFileErrorMaximum | 4607 | |
UserActivityErrorMinimum | 4608 | |
UserActivityHandoffFailedError | 4608 | |
UserActivityConnectionUnavailableError | 4609 | |
UserActivityRemoteApplicationTimedOutError | 4610 | |
UserActivityHandoffUserInfoTooLargeError | 4611 | |
UserActivityErrorMaximum | 4863 | |
CoderErrorMinimum | 4864 | |
CoderReadCorruptError | 4864 | |
CoderValueNotFoundError | 4865 | |
CoderInvalidValueError | 4866 | |
CoderErrorMaximum | 4991 | |
BundleErrorMinimum | 4992 | |
BundleOnDemandResourceOutOfSpaceError | 4992 | |
BundleOnDemandResourceExceededMaximumSizeError | 4993 | |
BundleOnDemandResourceInvalidTagError | 4994 | |
BundleErrorMaximum | 5119 | |
CloudSharingErrorMinimum | 5120 | |
CloudSharingNetworkFailureError | 5120 | |
CloudSharingQuotaExceededError | 5121 | |
CloudSharingTooManyParticipantsError | 5122 | |
CloudSharingConflictError | 5123 | |
CloudSharingNoPermissionError | 5124 | |
CloudSharingErrorMaximum | 5375 | |
CloudSharingOtherError | 5375 |