CAIError

public struct CAIError : SAPError, Equatable

Enum CAIError. Implement SAPError. Raised when something is wrong with our platform services.

  • Server error

    Declaration

    Swift

    public static func server(_ error: Error? = nil, reason: String? = nil) -> CAIError
  • Undocumented

    Declaration

    Swift

    public static var cancelled: CAIError { get }
  • Undocumented

    Declaration

    Swift

    public static func dataDecoding(_ error: Error? = nil, reason: String? = nil) -> CAIError
  • Conversation not found error

    Declaration

    Swift

    public static func conversationNotFound(_ error: Error? = nil, reason: String? = nil) -> CAIError
  • Declaration

    Swift

    public var failureReason: String?
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public var debugDescription: String { get }
  • Declaration

    Swift

    public var errorDescription: String? { get }
  • Declaration

    Swift

    public static func == (lhs: CAIError, rhs: CAIError) -> Bool