SUError

Objective-C

NS_ENUM(OSStatus, SUError) {
    // Configuration phase errors
    SUNoPublicDSAFoundError = 0001,
    SUInsufficientSigningError = 0002,
    SUInsecureFeedURLError = 0003,
    SUInvalidFeedURLError = 0004,
    SUInvalidUpdaterError = 0005,
    SUInvalidHostBundleIdentifierError = 0006,
    SUInvalidHostVersionError = 0007,
    
    // Appcast phase errors.
    SUAppcastParseError = 1000,
    SUNoUpdateError = 1001,
    SUAppcastError = 1002,
    SURunningFromDiskImageError = 1003,
    SUResumeAppcastError = 1004,
    SURunningTranslocated = 1005,
    SUWebKitTerminationError = 1006,
    SUReleaseNotesError = 1007,

    // Download phase errors.
    SUTemporaryDirectoryError = 2000,
    SUDownloadError = 2001,

    // Extraction phase errors.
    SUUnarchivingError = 3000,
    SUSignatureError = 3001,
    SUValidationError = 3002,
    
    // Installation phase errors.
    SUFileCopyFailure = 4000,
    SUAuthenticationFailure = 4001,
    SUMissingUpdateError = 4002,
    SUMissingInstallerToolError = 4003,
    SURelaunchError = 4004,
    SUInstallationError = 4005,
    SUDowngradeError = 4006,
    SUInstallationCanceledError = 4007,
    SUInstallationAuthorizeLaterError = 4008,
    SUNotValidUpdateError = 4009,
    SUAgentInvalidationError = 4010,
    SUInstallationRootInteractiveError = 4011,
    SUInstallationWriteNoPermissionError = 4012,
    
    // API misuse errors.
    SUIncorrectAPIUsageError = 5000
}

Swift

enum SUError : OSStatus, @unchecked Sendable

Undocumented

  • Undocumented

    Declaration

    Objective-C

    SUNoPublicDSAFoundError = 0001

    Swift

    case noPublicDSAFoundError = 1
  • Undocumented

    Declaration

    Objective-C

    SUInsufficientSigningError = 0002

    Swift

    case insufficientSigningError = 2
  • Undocumented

    Declaration

    Objective-C

    SUInsecureFeedURLError = 0003

    Swift

    case insecureFeedURLError = 3
  • Undocumented

    Declaration

    Objective-C

    SUInvalidFeedURLError = 0004

    Swift

    case invalidFeedURLError = 4
  • Undocumented

    Declaration

    Objective-C

    SUInvalidUpdaterError = 0005

    Swift

    case invalidUpdaterError = 5
  • Undocumented

    Declaration

    Objective-C

    SUInvalidHostBundleIdentifierError = 0006

    Swift

    case invalidHostBundleIdentifierError = 6
  • Undocumented

    Declaration

    Objective-C

    SUInvalidHostVersionError = 0007

    Swift

    case invalidHostVersionError = 7
  • Undocumented

    Declaration

    Objective-C

    SUAppcastParseError = 1000

    Swift

    case appcastParseError = 1000
  • Undocumented

    Declaration

    Objective-C

    SUNoUpdateError = 1001

    Swift

    case noUpdateError = 1001
  • Undocumented

    Declaration

    Objective-C

    SUAppcastError = 1002

    Swift

    case appcastError = 1002
  • Undocumented

    Declaration

    Objective-C

    SURunningFromDiskImageError = 1003

    Swift

    case runningFromDiskImageError = 1003
  • Undocumented

    Declaration

    Objective-C

    SUResumeAppcastError = 1004

    Swift

    case resumeAppcastError = 1004
  • Undocumented

    Declaration

    Objective-C

    SURunningTranslocated = 1005

    Swift

    case runningTranslocated = 1005
  • Undocumented

    Declaration

    Objective-C

    SUWebKitTerminationError = 1006

    Swift

    case webKitTerminationError = 1006
  • Undocumented

    Declaration

    Objective-C

    SUReleaseNotesError = 1007

    Swift

    case releaseNotesError = 1007
  • Undocumented

    Declaration

    Objective-C

    SUTemporaryDirectoryError = 2000

    Swift

    case temporaryDirectoryError = 2000
  • Undocumented

    Declaration

    Objective-C

    SUDownloadError = 2001

    Swift

    case downloadError = 2001
  • Undocumented

    Declaration

    Objective-C

    SUUnarchivingError = 3000

    Swift

    case unarchivingError = 3000
  • Undocumented

    Declaration

    Objective-C

    SUSignatureError = 3001

    Swift

    case signatureError = 3001
  • Undocumented

    Declaration

    Objective-C

    SUValidationError = 3002

    Swift

    case validationError = 3002
  • Undocumented

    Declaration

    Objective-C

    SUFileCopyFailure = 4000

    Swift

    case fileCopyFailure = 4000
  • Undocumented

    Declaration

    Objective-C

    SUAuthenticationFailure = 4001

    Swift

    case authenticationFailure = 4001
  • Undocumented

    Declaration

    Objective-C

    SUMissingUpdateError = 4002

    Swift

    case missingUpdateError = 4002
  • Undocumented

    Declaration

    Objective-C

    SUMissingInstallerToolError = 4003

    Swift

    case missingInstallerToolError = 4003
  • Undocumented

    Declaration

    Objective-C

    SURelaunchError = 4004

    Swift

    case relaunchError = 4004
  • Undocumented

    Declaration

    Objective-C

    SUInstallationError = 4005

    Swift

    case installationError = 4005
  • Undocumented

    Declaration

    Objective-C

    SUDowngradeError = 4006

    Swift

    case downgradeError = 4006
  • Undocumented

    Declaration

    Objective-C

    SUInstallationCanceledError = 4007

    Swift

    case installationCanceledError = 4007
  • Undocumented

    Declaration

    Objective-C

    SUInstallationAuthorizeLaterError = 4008

    Swift

    case installationAuthorizeLaterError = 4008
  • Undocumented

    Declaration

    Objective-C

    SUNotValidUpdateError = 4009

    Swift

    case notValidUpdateError = 4009
  • Undocumented

    Declaration

    Objective-C

    SUAgentInvalidationError = 4010

    Swift

    case agentInvalidationError = 4010
  • Undocumented

    Declaration

    Objective-C

    SUInstallationRootInteractiveError = 4011

    Swift

    case installationRootInteractiveError = 4011
  • Undocumented

    Declaration

    Objective-C

    SUInstallationWriteNoPermissionError = 4012

    Swift

    case installationWriteNoPermissionError = 4012
  • Undocumented

    Declaration

    Objective-C

    SUIncorrectAPIUsageError = 5000

    Swift

    case incorrectAPIUsageError = 5000