Code

@frozen
public enum Code : Hashable, SelfIdentifiable, CustomStringConvertible

A value representing an error code.

Cases

  • An error code specific to this iOS SDK.

    Declaration

    Swift

    case sdk(SDKCode)
  • An error code coming from the back-end known by this SDK.

    Declaration

    Swift

    case backEnd(BackEndCode)
  • An error code coming from the back-end not known by this SDK.

    Declaration

    Swift

    case backEndUnknown(String)
  • No error.

    Declaration

    Swift

    case success

CustomStringConvertible Protocol

  • Declaration

    Swift

    public var description: String { get }