formattingError
TypeScriptstatic get formattingError(): CocoaError_CodeSwift declarationstatic var formattingError: CocoaError.Code { get }struct · iOS 8.0+ · SDK 27.1
struct CocoaErrorDescribes errors within the Cocoa error domain, including errors that Foundation throws.
static get formattingError(): CocoaError_CodeSwift declarationstatic var formattingError: CocoaError.Code { get }static get fileLockingError(): CocoaError_CodeSwift declarationstatic var fileLockingError: CocoaError.Code { get }get isExecutableError(): booleanSwift declarationvar isExecutableError: Bool { get }get isFormattingError(): booleanSwift declarationvar isFormattingError: Bool { get }get isValidationError(): booleanSwift declarationvar isValidationError: Bool { get }static get userCancelledError(): CocoaError_CodeSwift declarationstatic var userCancelledError: CocoaError.Code { get }static get executableLinkError(): CocoaError_CodeSwift declarationstatic var executableLinkError: CocoaError.Code { get }static get executableLoadError(): CocoaError_CodeSwift declarationstatic var executableLoadError: CocoaError.Code { get }static get fileNoSuchFileError(): CocoaError_CodeSwift declarationstatic var fileNoSuchFileError: CocoaError.Code { get }get isPropertyListError(): booleanSwift declarationvar isPropertyListError: Bool { get }get isUserActivityError(): booleanSwift declarationvar isUserActivityError: Bool { get }static get fileReadUnknownError(): CocoaError_CodeSwift declarationstatic var fileReadUnknownError: CocoaError.Code { get }get isXPCConnectionError(): booleanSwift declarationvar isXPCConnectionError: Bool { get }static get coderReadCorruptError(): CocoaError_CodeSwift declarationstatic var coderReadCorruptError: CocoaError.Code { get }static get fileReadTooLargeError(): CocoaError_CodeSwift declarationstatic var fileReadTooLargeError: CocoaError.Code { get }static get fileWriteUnknownError(): CocoaError_CodeSwift declarationstatic var fileWriteUnknownError: CocoaError.Code { get }get isUbiquitousFileError(): booleanSwift declarationvar isUbiquitousFileError: Bool { get }static get coderValueNotFoundError(): CocoaError_CodeSwift declarationstatic var coderValueNotFoundError: CocoaError.Code { get }static get featureUnsupportedError(): CocoaError_CodeSwift declarationstatic var featureUnsupportedError: CocoaError.Code { get }static get fileReadNoSuchFileError(): CocoaError_CodeSwift declarationstatic var fileReadNoSuchFileError: CocoaError.Code { get }static get keyValueValidationError(): CocoaError_CodeSwift declarationstatic var keyValueValidationError: CocoaError.Code { get }static get fileReadCorruptFileError(): CocoaError_CodeSwift declarationstatic var fileReadCorruptFileError: CocoaError.Code { get }static get fileWriteFileExistsError(): CocoaError_CodeSwift declarationstatic var fileWriteFileExistsError: CocoaError.Code { get }static get fileWriteOutOfSpaceError(): CocoaError_CodeSwift declarationstatic var fileWriteOutOfSpaceError: CocoaError.Code { get }static get fileReadNoPermissionError(): CocoaError_CodeSwift declarationstatic var fileReadNoPermissionError: CocoaError.Code { get }static get executableNotLoadableError(): CocoaError_CodeSwift declarationstatic var executableNotLoadableError: CocoaError.Code { get }static get fileWriteNoPermissionError(): CocoaError_CodeSwift declarationstatic var fileWriteNoPermissionError: CocoaError.Code { get }static get propertyListReadStreamError(): CocoaError_CodeSwift declarationstatic var propertyListReadStreamError: CocoaError.Code { get }static get fileReadInvalidFileNameError(): CocoaError_CodeSwift declarationstatic var fileReadInvalidFileNameError: CocoaError.Code { get }static get fileWriteVolumeReadOnlyError(): CocoaError_CodeSwift declarationstatic var fileWriteVolumeReadOnlyError: CocoaError.Code { get }static get propertyListReadCorruptError(): CocoaError_CodeSwift declarationstatic var propertyListReadCorruptError: CocoaError.Code { get }static get propertyListWriteStreamError(): CocoaError_CodeSwift declarationstatic var propertyListWriteStreamError: CocoaError.Code { get }static get fileWriteInvalidFileNameError(): CocoaError_CodeSwift declarationstatic var fileWriteInvalidFileNameError: CocoaError.Code { get }static get propertyListWriteInvalidError(): CocoaError_CodeSwift declarationstatic var propertyListWriteInvalidError: CocoaError.Code { get }static get executableRuntimeMismatchError(): CocoaError_CodeSwift declarationstatic var executableRuntimeMismatchError: CocoaError.Code { get }static get fileReadUnsupportedSchemeError(): CocoaError_CodeSwift declarationstatic var fileReadUnsupportedSchemeError: CocoaError.Code { get }static get ubiquitousFileUnavailableError(): CocoaError_CodeSwift declarationstatic var ubiquitousFileUnavailableError: CocoaError.Code { get }static get userActivityHandoffFailedError(): CocoaError_CodeSwift declarationstatic var userActivityHandoffFailedError: CocoaError.Code { get }static get fileWriteUnsupportedSchemeError(): CocoaError_CodeSwift declarationstatic var fileWriteUnsupportedSchemeError: CocoaError.Code { get }static get fileReadUnknownStringEncodingError(): CocoaError_CodeSwift declarationstatic var fileReadUnknownStringEncodingError: CocoaError.Code { get }static get executableArchitectureMismatchError(): CocoaError_CodeSwift declarationstatic var executableArchitectureMismatchError: CocoaError.Code { get }static get propertyListReadUnknownVersionError(): CocoaError_CodeSwift declarationstatic var propertyListReadUnknownVersionError: CocoaError.Code { get }static get userActivityConnectionUnavailableError(): CocoaError_CodeSwift declarationstatic var userActivityConnectionUnavailableError: CocoaError.Code { get }static get fileReadInapplicableStringEncodingError(): CocoaError_CodeSwift declarationstatic var fileReadInapplicableStringEncodingError: CocoaError.Code { get }static get fileWriteInapplicableStringEncodingError(): CocoaError_CodeSwift declarationstatic var fileWriteInapplicableStringEncodingError: CocoaError.Code { get }static get ubiquitousFileNotUploadedDueToQuotaError(): CocoaError_CodeSwift declarationstatic var ubiquitousFileNotUploadedDueToQuotaError: CocoaError.Code { get }static get userActivityHandoffUserInfoTooLargeError(): CocoaError_CodeSwift declarationstatic var userActivityHandoffUserInfoTooLargeError: CocoaError.Code { get }static get userActivityRemoteApplicationTimedOutError(): CocoaError_CodeSwift declarationstatic var userActivityRemoteApplicationTimedOutError: CocoaError.Code { get }get isFileError(): booleanSwift declarationvar isFileError: Bool { get }get isCoderError(): booleanSwift declarationvar isCoderError: Bool { get }static get formatting(): CocoaError_CodeSwift declarationstatic var formatting: CocoaError.Code { get }get underlying(): (NativeError) | nullSwift declarationvar underlying: (any Error)? { get }The underlying error behind this error, if any.
static get errorDomain(): stringSwift declarationstatic var errorDomain: String { get }The domain of the error.
static get fileLocking(): CocoaError_CodeSwift declarationstatic var fileLocking: CocoaError.Code { get }static get userCancelled(): CocoaError_CodeSwift declarationstatic var userCancelled: CocoaError.Code { get }static get executableLink(): CocoaError_CodeSwift declarationstatic var executableLink: CocoaError.Code { get }static get executableLoad(): CocoaError_CodeSwift declarationstatic var executableLoad: CocoaError.Code { get }static get fileNoSuchFile(): CocoaError_CodeSwift declarationstatic var fileNoSuchFile: CocoaError.Code { get }get stringEncoding(): (String_Encoding) | nullSwift declarationvar stringEncoding: String.Encoding? { get }The string encoding associated with this error, if any.
static get fileReadUnknown(): CocoaError_CodeSwift declarationstatic var fileReadUnknown: CocoaError.Code { get }static get coderReadCorrupt(): CocoaError_CodeSwift declarationstatic var coderReadCorrupt: CocoaError.Code { get }static get fileReadTooLarge(): CocoaError_CodeSwift declarationstatic var fileReadTooLarge: CocoaError.Code { get }static get fileWriteUnknown(): CocoaError_CodeSwift declarationstatic var fileWriteUnknown: CocoaError.Code { get }get underlyingErrors(): Array<NativeError>Swift declarationvar underlyingErrors: [any Error] { get }A list of underlying errors, if any. It includes the values of both NSUnderlyingErrorKey and NSMultipleUnderlyingErrorsKey. If there are no underlying errors, returns an empty array.
static get coderInvalidValue(): CocoaError_CodeSwift declarationstatic var coderInvalidValue: CocoaError.Code { get }static get coderValueNotFound(): CocoaError_CodeSwift declarationstatic var coderValueNotFound: CocoaError.Code { get }static get featureUnsupported(): CocoaError_CodeSwift declarationstatic var featureUnsupported: CocoaError.Code { get }static get fileReadNoSuchFile(): CocoaError_CodeSwift declarationstatic var fileReadNoSuchFile: CocoaError.Code { get }static get keyValueValidation(): CocoaError_CodeSwift declarationstatic var keyValueValidation: CocoaError.Code { get }static get fileReadCorruptFile(): CocoaError_CodeSwift declarationstatic var fileReadCorruptFile: CocoaError.Code { get }static get fileWriteFileExists(): CocoaError_CodeSwift declarationstatic var fileWriteFileExists: CocoaError.Code { get }static get fileWriteOutOfSpace(): CocoaError_CodeSwift declarationstatic var fileWriteOutOfSpace: CocoaError.Code { get }static get fileReadNoPermission(): CocoaError_CodeSwift declarationstatic var fileReadNoPermission: CocoaError.Code { get }static get xpcConnectionInvalid(): CocoaError_CodeSwift declarationstatic var xpcConnectionInvalid: CocoaError.Code { get }static get executableNotLoadable(): CocoaError_CodeSwift declarationstatic var executableNotLoadable: CocoaError.Code { get }static get fileWriteNoPermission(): CocoaError_CodeSwift declarationstatic var fileWriteNoPermission: CocoaError.Code { get }static get propertyListReadStream(): CocoaError_CodeSwift declarationstatic var propertyListReadStream: CocoaError.Code { get }static get fileReadInvalidFileName(): CocoaError_CodeSwift declarationstatic var fileReadInvalidFileName: CocoaError.Code { get }static get fileWriteVolumeReadOnly(): CocoaError_CodeSwift declarationstatic var fileWriteVolumeReadOnly: CocoaError.Code { get }static get propertyListReadCorrupt(): CocoaError_CodeSwift declarationstatic var propertyListReadCorrupt: CocoaError.Code { get }static get propertyListWriteStream(): CocoaError_CodeSwift declarationstatic var propertyListWriteStream: CocoaError.Code { get }static get fileWriteInvalidFileName(): CocoaError_CodeSwift declarationstatic var fileWriteInvalidFileName: CocoaError.Code { get }static get propertyListWriteInvalid(): CocoaError_CodeSwift declarationstatic var propertyListWriteInvalid: CocoaError.Code { get }static get xpcConnectionInterrupted(): CocoaError_CodeSwift declarationstatic var xpcConnectionInterrupted: CocoaError.Code { get }static get executableRuntimeMismatch(): CocoaError_CodeSwift declarationstatic var executableRuntimeMismatch: CocoaError.Code { get }static get fileReadUnsupportedScheme(): CocoaError_CodeSwift declarationstatic var fileReadUnsupportedScheme: CocoaError.Code { get }static get ubiquitousFileUnavailable(): CocoaError_CodeSwift declarationstatic var ubiquitousFileUnavailable: CocoaError.Code { get }static get userActivityHandoffFailed(): CocoaError_CodeSwift declarationstatic var userActivityHandoffFailed: CocoaError.Code { get }static get xpcConnectionReplyInvalid(): CocoaError_CodeSwift declarationstatic var xpcConnectionReplyInvalid: CocoaError.Code { get }static get fileWriteUnsupportedScheme(): CocoaError_CodeSwift declarationstatic var fileWriteUnsupportedScheme: CocoaError.Code { get }static get fileReadUnknownStringEncoding(): CocoaError_CodeSwift declarationstatic var fileReadUnknownStringEncoding: CocoaError.Code { get }static get executableArchitectureMismatch(): CocoaError_CodeSwift declarationstatic var executableArchitectureMismatch: CocoaError.Code { get }static get propertyListReadUnknownVersion(): CocoaError_CodeSwift declarationstatic var propertyListReadUnknownVersion: CocoaError.Code { get }static get userActivityConnectionUnavailable(): CocoaError_CodeSwift declarationstatic var userActivityConnectionUnavailable: CocoaError.Code { get }static get fileReadInapplicableStringEncoding(): CocoaError_CodeSwift declarationstatic var fileReadInapplicableStringEncoding: CocoaError.Code { get }static get fileWriteInapplicableStringEncoding(): CocoaError_CodeSwift declarationstatic var fileWriteInapplicableStringEncoding: CocoaError.Code { get }static get ubiquitousFileNotUploadedDueToQuota(): CocoaError_CodeSwift declarationstatic var ubiquitousFileNotUploadedDueToQuota: CocoaError.Code { get }static get userActivityHandoffUserInfoTooLarge(): CocoaError_CodeSwift declarationstatic var userActivityHandoffUserInfoTooLarge: CocoaError.Code { get }static get userActivityRemoteApplicationTimedOut(): CocoaError_CodeSwift declarationstatic var userActivityRemoteApplicationTimedOut: CocoaError.Code { get }get url(): (string) | nullSwift declarationvar url: URL? { get }The URL associated with this error, if any.
static get ubiquitousFileUbiquityServerNotAvailable(): CocoaError_CodeSwift declarationstatic var ubiquitousFileUbiquityServerNotAvailable: CocoaError.Code { get }static error(code: CocoaError_Code, userInfo?: (NativeMap<unknown, unknown>) | null, url?: (string) | null): NativeErrorSwift declarationstatic func error(_ code: CocoaError.Code, userInfo: [AnyHashable : Any]? = nil, url: URL? = nil) -> any Errorget filePath(): (string) | nullSwift declarationvar filePath: String? { get }The file path associated with the error, if any.
No declarations were skipped in this snapshot.