SAPcpmsSettingsError

public enum SAPcpmsSettingsError : Error
extension SAPcpmsSettingsError: SAPError

Error types that can throw this framework

  • The given value is not conform to the accepted type (parse issue: missing a necessary key or the type is invalid).

    Declaration

    Swift

    case malformed(type: MalformedType, description: String)
  • Connection to the server failed.

    Declaration

    Swift

    case network
  • Status code of response is not the expected.

    Declaration

    Swift

    case invalidHTTPStatus(statusCode: Int)
  • To the given SettingsTarget didn’t set any deviceID/userName in the SAPcpmsSettingsParameters.

    Declaration

    Swift

    case missingValueForSettingsTarget
  • The malformed error could have different type

    See more

    Declaration

    Swift

    public enum MalformedType
  • A localized message description.

    Declaration

    Swift

    public var description: String { get }
  • A localized message describing the debug information.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public var failureReason: String? { get }