ChessAPI.swift enum APIError: ErrorType { case NetworkError(NSError) case JSONParsingError(NSError) case InvalidJSONStructure(reason: String) } Reac%veChess - Javier Soto, RACDC 2015 21
WatchKit Controllers self.tournaments <~ self.chessAPI.requestTournaments() // To bind to a property, the signal can't send errors. |> printAndFilterErrors("Error requesting tournaments") } Reac%veChess - Javier Soto, RACDC 2015 32