CuratedRecommendationsApiError
public enum CuratedRecommendationsApiError : Swift.Error, Equatable, Hashable, Codable, Foundation.LocalizedError
extension CuratedRecommendationsApiError: Sendable
Public error type exposed to consumers via UniFFI.
This is a simplified version of [Error] suitable for cross-platform callers,
distinguishing network failures from other errors.
-
A network-level failure (e.g. DNS resolution, connection timeout).
Declaration
Swift
case Network(reason: String ) -
Any other error, including HTTP errors and deserialization failures.
Declaration
Swift
case Other(code: UInt16?, reason: String ) -
Declaration
Swift
public var errorDescription: String? { get }