formattingError
TypeScriptget formattingError(): CocoaError_CodeSwift declarationstatic var formattingError: CocoaError.Code { get }struct · iOS 8.0+ · SDK 27.1
struct CodeThe error code itself.
get formattingError(): CocoaError_CodeSwift declarationstatic var formattingError: CocoaError.Code { get }get fileLockingError(): CocoaError_CodeSwift declarationstatic var fileLockingError: CocoaError.Code { get }get userCancelledError(): CocoaError_CodeSwift declarationstatic var userCancelledError: CocoaError.Code { get }get executableLinkError(): CocoaError_CodeSwift declarationstatic var executableLinkError: CocoaError.Code { get }get executableLoadError(): CocoaError_CodeSwift declarationstatic var executableLoadError: CocoaError.Code { get }get fileNoSuchFileError(): CocoaError_CodeSwift declarationstatic var fileNoSuchFileError: CocoaError.Code { get }get fileReadUnknownError(): CocoaError_CodeSwift declarationstatic var fileReadUnknownError: CocoaError.Code { get }get coderReadCorruptError(): CocoaError_CodeSwift declarationstatic var coderReadCorruptError: CocoaError.Code { get }get fileReadTooLargeError(): CocoaError_CodeSwift declarationstatic var fileReadTooLargeError: CocoaError.Code { get }get fileWriteUnknownError(): CocoaError_CodeSwift declarationstatic var fileWriteUnknownError: CocoaError.Code { get }get coderValueNotFoundError(): CocoaError_CodeSwift declarationstatic var coderValueNotFoundError: CocoaError.Code { get }get featureUnsupportedError(): CocoaError_CodeSwift declarationstatic var featureUnsupportedError: CocoaError.Code { get }get fileReadNoSuchFileError(): CocoaError_CodeSwift declarationstatic var fileReadNoSuchFileError: CocoaError.Code { get }get keyValueValidationError(): CocoaError_CodeSwift declarationstatic var keyValueValidationError: CocoaError.Code { get }get fileReadCorruptFileError(): CocoaError_CodeSwift declarationstatic var fileReadCorruptFileError: CocoaError.Code { get }get fileWriteFileExistsError(): CocoaError_CodeSwift declarationstatic var fileWriteFileExistsError: CocoaError.Code { get }get fileWriteOutOfSpaceError(): CocoaError_CodeSwift declarationstatic var fileWriteOutOfSpaceError: CocoaError.Code { get }get fileReadNoPermissionError(): CocoaError_CodeSwift declarationstatic var fileReadNoPermissionError: CocoaError.Code { get }get executableNotLoadableError(): CocoaError_CodeSwift declarationstatic var executableNotLoadableError: CocoaError.Code { get }get fileWriteNoPermissionError(): CocoaError_CodeSwift declarationstatic var fileWriteNoPermissionError: CocoaError.Code { get }get propertyListReadStreamError(): CocoaError_CodeSwift declarationstatic var propertyListReadStreamError: CocoaError.Code { get }get fileReadInvalidFileNameError(): CocoaError_CodeSwift declarationstatic var fileReadInvalidFileNameError: CocoaError.Code { get }get fileWriteVolumeReadOnlyError(): CocoaError_CodeSwift declarationstatic var fileWriteVolumeReadOnlyError: CocoaError.Code { get }get propertyListReadCorruptError(): CocoaError_CodeSwift declarationstatic var propertyListReadCorruptError: CocoaError.Code { get }get propertyListWriteStreamError(): CocoaError_CodeSwift declarationstatic var propertyListWriteStreamError: CocoaError.Code { get }get fileWriteInvalidFileNameError(): CocoaError_CodeSwift declarationstatic var fileWriteInvalidFileNameError: CocoaError.Code { get }get propertyListWriteInvalidError(): CocoaError_CodeSwift declarationstatic var propertyListWriteInvalidError: CocoaError.Code { get }get executableRuntimeMismatchError(): CocoaError_CodeSwift declarationstatic var executableRuntimeMismatchError: CocoaError.Code { get }get fileReadUnsupportedSchemeError(): CocoaError_CodeSwift declarationstatic var fileReadUnsupportedSchemeError: CocoaError.Code { get }get ubiquitousFileUnavailableError(): CocoaError_CodeSwift declarationstatic var ubiquitousFileUnavailableError: CocoaError.Code { get }get userActivityHandoffFailedError(): CocoaError_CodeSwift declarationstatic var userActivityHandoffFailedError: CocoaError.Code { get }get fileWriteUnsupportedSchemeError(): CocoaError_CodeSwift declarationstatic var fileWriteUnsupportedSchemeError: CocoaError.Code { get }get fileReadUnknownStringEncodingError(): CocoaError_CodeSwift declarationstatic var fileReadUnknownStringEncodingError: CocoaError.Code { get }get executableArchitectureMismatchError(): CocoaError_CodeSwift declarationstatic var executableArchitectureMismatchError: CocoaError.Code { get }get propertyListReadUnknownVersionError(): CocoaError_CodeSwift declarationstatic var propertyListReadUnknownVersionError: CocoaError.Code { get }get userActivityConnectionUnavailableError(): CocoaError_CodeSwift declarationstatic var userActivityConnectionUnavailableError: CocoaError.Code { get }get fileReadInapplicableStringEncodingError(): CocoaError_CodeSwift declarationstatic var fileReadInapplicableStringEncodingError: CocoaError.Code { get }get fileWriteInapplicableStringEncodingError(): CocoaError_CodeSwift declarationstatic var fileWriteInapplicableStringEncodingError: CocoaError.Code { get }get ubiquitousFileNotUploadedDueToQuotaError(): CocoaError_CodeSwift declarationstatic var ubiquitousFileNotUploadedDueToQuotaError: CocoaError.Code { get }get userActivityHandoffUserInfoTooLargeError(): CocoaError_CodeSwift declarationstatic var userActivityHandoffUserInfoTooLargeError: CocoaError.Code { get }get userActivityRemoteApplicationTimedOutError(): CocoaError_CodeSwift declarationstatic var userActivityRemoteApplicationTimedOutError: CocoaError.Code { get }get formatting(): CocoaError_CodeSwift declarationstatic var formatting: CocoaError.Code { get }get fileLocking(): CocoaError_CodeSwift declarationstatic var fileLocking: CocoaError.Code { get }get userCancelled(): CocoaError_CodeSwift declarationstatic var userCancelled: CocoaError.Code { get }get executableLink(): CocoaError_CodeSwift declarationstatic var executableLink: CocoaError.Code { get }get executableLoad(): CocoaError_CodeSwift declarationstatic var executableLoad: CocoaError.Code { get }get fileNoSuchFile(): CocoaError_CodeSwift declarationstatic var fileNoSuchFile: CocoaError.Code { get }get fileReadUnknown(): CocoaError_CodeSwift declarationstatic var fileReadUnknown: CocoaError.Code { get }get coderReadCorrupt(): CocoaError_CodeSwift declarationstatic var coderReadCorrupt: CocoaError.Code { get }get fileReadTooLarge(): CocoaError_CodeSwift declarationstatic var fileReadTooLarge: CocoaError.Code { get }get fileWriteUnknown(): CocoaError_CodeSwift declarationstatic var fileWriteUnknown: CocoaError.Code { get }get coderInvalidValue(): CocoaError_CodeSwift declarationstatic var coderInvalidValue: CocoaError.Code { get }get coderValueNotFound(): CocoaError_CodeSwift declarationstatic var coderValueNotFound: CocoaError.Code { get }get featureUnsupported(): CocoaError_CodeSwift declarationstatic var featureUnsupported: CocoaError.Code { get }get fileReadNoSuchFile(): CocoaError_CodeSwift declarationstatic var fileReadNoSuchFile: CocoaError.Code { get }get keyValueValidation(): CocoaError_CodeSwift declarationstatic var keyValueValidation: CocoaError.Code { get }get fileReadCorruptFile(): CocoaError_CodeSwift declarationstatic var fileReadCorruptFile: CocoaError.Code { get }get fileWriteFileExists(): CocoaError_CodeSwift declarationstatic var fileWriteFileExists: CocoaError.Code { get }get fileWriteOutOfSpace(): CocoaError_CodeSwift declarationstatic var fileWriteOutOfSpace: CocoaError.Code { get }get fileReadNoPermission(): CocoaError_CodeSwift declarationstatic var fileReadNoPermission: CocoaError.Code { get }get xpcConnectionInvalid(): CocoaError_CodeSwift declarationstatic var xpcConnectionInvalid: CocoaError.Code { get }get executableNotLoadable(): CocoaError_CodeSwift declarationstatic var executableNotLoadable: CocoaError.Code { get }get fileWriteNoPermission(): CocoaError_CodeSwift declarationstatic var fileWriteNoPermission: CocoaError.Code { get }get propertyListReadStream(): CocoaError_CodeSwift declarationstatic var propertyListReadStream: CocoaError.Code { get }get fileReadInvalidFileName(): CocoaError_CodeSwift declarationstatic var fileReadInvalidFileName: CocoaError.Code { get }get fileWriteVolumeReadOnly(): CocoaError_CodeSwift declarationstatic var fileWriteVolumeReadOnly: CocoaError.Code { get }get propertyListReadCorrupt(): CocoaError_CodeSwift declarationstatic var propertyListReadCorrupt: CocoaError.Code { get }get propertyListWriteStream(): CocoaError_CodeSwift declarationstatic var propertyListWriteStream: CocoaError.Code { get }get fileWriteInvalidFileName(): CocoaError_CodeSwift declarationstatic var fileWriteInvalidFileName: CocoaError.Code { get }get propertyListWriteInvalid(): CocoaError_CodeSwift declarationstatic var propertyListWriteInvalid: CocoaError.Code { get }get xpcConnectionInterrupted(): CocoaError_CodeSwift declarationstatic var xpcConnectionInterrupted: CocoaError.Code { get }get executableRuntimeMismatch(): CocoaError_CodeSwift declarationstatic var executableRuntimeMismatch: CocoaError.Code { get }get fileReadUnsupportedScheme(): CocoaError_CodeSwift declarationstatic var fileReadUnsupportedScheme: CocoaError.Code { get }get ubiquitousFileUnavailable(): CocoaError_CodeSwift declarationstatic var ubiquitousFileUnavailable: CocoaError.Code { get }get userActivityHandoffFailed(): CocoaError_CodeSwift declarationstatic var userActivityHandoffFailed: CocoaError.Code { get }get xpcConnectionReplyInvalid(): CocoaError_CodeSwift declarationstatic var xpcConnectionReplyInvalid: CocoaError.Code { get }get fileWriteUnsupportedScheme(): CocoaError_CodeSwift declarationstatic var fileWriteUnsupportedScheme: CocoaError.Code { get }get fileReadUnknownStringEncoding(): CocoaError_CodeSwift declarationstatic var fileReadUnknownStringEncoding: CocoaError.Code { get }get executableArchitectureMismatch(): CocoaError_CodeSwift declarationstatic var executableArchitectureMismatch: CocoaError.Code { get }get propertyListReadUnknownVersion(): CocoaError_CodeSwift declarationstatic var propertyListReadUnknownVersion: CocoaError.Code { get }get userActivityConnectionUnavailable(): CocoaError_CodeSwift declarationstatic var userActivityConnectionUnavailable: CocoaError.Code { get }get fileReadInapplicableStringEncoding(): CocoaError_CodeSwift declarationstatic var fileReadInapplicableStringEncoding: CocoaError.Code { get }get fileWriteInapplicableStringEncoding(): CocoaError_CodeSwift declarationstatic var fileWriteInapplicableStringEncoding: CocoaError.Code { get }get ubiquitousFileNotUploadedDueToQuota(): CocoaError_CodeSwift declarationstatic var ubiquitousFileNotUploadedDueToQuota: CocoaError.Code { get }get userActivityHandoffUserInfoTooLarge(): CocoaError_CodeSwift declarationstatic var userActivityHandoffUserInfoTooLarge: CocoaError.Code { get }get userActivityRemoteApplicationTimedOut(): CocoaError_CodeSwift declarationstatic var userActivityRemoteApplicationTimedOut: CocoaError.Code { get }get ubiquitousFileUbiquityServerNotAvailable(): CocoaError_CodeSwift declarationstatic var ubiquitousFileUbiquityServerNotAvailable: CocoaError.Code { get }init(rawValue: number): CocoaError_CodeSwift declarationinit(rawValue: Int)Creates a new instance with the specified raw value. If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example: enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil" - Parameter rawValue: The raw value to use for the new instance.
getRawValue($self: CocoaError_Code): numberSwift declarationlet rawValue: IntThe corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"
No declarations were skipped in this snapshot.