GladlyError

public enum GladlyError : Error
extension GladlyError: LocalizedError

Errors that can be thrown from API calls

  • Glad App is already initialized.

    Declaration

    Swift

    case alreadyInitialized
  • An unexpected internal error happened.

    Declaration

    Swift

    case internalError
  • Glad App is not initialized.

    Declaration

    Swift

    case notInitialized
  • GladlyUser is already defined.

    Declaration

    Swift

    case userAlreadyDefined
  • No conversation exists for user

    Declaration

    Swift

    case noConversationExists
  • A user has not been defined

    Declaration

    Swift

    case userHasNotBeenDefined
  • A network error

    Declaration

    Swift

    case networkError
  • Declaration

    Swift

    public var errorDescription: String? { get }