StitchInitializationError

public enum StitchInitializationError : Error

An error related to the initialization of the Stitch SDK, initializing clients, or retrieving clients.

  • An error indiciating that Stitch.initializeDefaultAppClient() was never called.

    Declaration

    Swift

    case defaultClientNotInitialized
  • An error indicating that a default app client has already been initialized. Contains a clientAppID string indicating the clientAppID of the already-initialized default client.

    Declaration

    Swift

    case defaultClientAlreadyInitialized(clientAppID: String)
  • An error indicating that retrieval of a client failed because a client with the provided clientAppID was never initialized.

    Declaration

    Swift

    case clientNotInitialized(clientAppID: String)
  • An error indicating that a client with the provided clientAppID has already been initialized.

    Declaration

    Swift

    case clientAlreadyInitialized(clientAppID: String)
  • An error indicating that client initialization failed because a clientAppID was not specified in its configuration.

    Declaration

    Swift

    case clientAppIDNotSpecified
  • An error indicating the client initialization failed because UserDefaults could not be initialized. This typically means you’ve specified an invalid client app id.

    Declaration

    Swift

    case userDefaultsFailure
  • A description of the error case.

    Declaration

    Swift

    public var localizedDescription: String { get }