SAPcpmsLogUploaderError

public enum SAPcpmsLogUploaderError : Error

Enum covering all errors occuring in the LogUploader.

  • missingLogFiles: no log files available for upload.

    Declaration

    Swift

    case missingLogFiles
  • emptyLogFiles: no logs available for upload.

    Declaration

    Swift

    case emptyLogFiles
  • networkError: a network error occurred.

    Declaration

    Swift

    case networkError(error: Error?, httpStatuscode: Int?, response: String?)
  • uploadAlreadyInProgress: an upload is already in progress. Concurrent log uploads are not supported.

    Declaration

    Swift

    case uploadAlreadyInProgress
  • couldNotDeleteLogs: error deleting uploaded log files.

    Declaration

    Swift

    case couldNotDeleteLogs
  • internalError: an internal error occurred.

    Declaration

    Swift

    case internalError(error: Error?)
  • Message describing the error

    Declaration

    Swift

    public var description: String { get }
  • A localized message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }
  • A textual representation of this instance, suitable for debugging.

    Declaration

    Swift

    public var debugDescription: String { get }
  • A localized message describing the reason for the failure.

    Declaration

    Swift

    public var failureReason: String? { get }