Like any framework or library, errors inevitablely occur from time-to-time, and learning how to handle errors in Combine is imperative. Learn about how you can manage errors in your pipeline, in order to give your end-users a more confident user experiences.
- [Instructor] An important aspect of coding is … being able to account for errors … or in other words, handle errors. … Like any other framework Combine is … certain to encounter errors, from networking to decoding … to incorrect credentials. … As a good citizen programmer, it is imperative … that you handle the unexpected in a graceful manner. … In this video, we're going to talk about all the different ways … in which you can error handle your Combine pipelines. … In Combine, errors are not an afterthought. … As a matter of fact, the framework forces you to think … about and declare, in advanced, … a type error definition, early on. … There are a few ways in which Combine … lets you work with errors, … first of which is leveraging the operator mapError. … This is akin to map operator used to map multiple events, … emitted through a filtering mechanism … to a singular response. … For network related matters such as temporary connectivity, … you can always use the retry operator … to retry a given number of times before giving up. …
- Functional reactive programming techniques
- Transmitting data with publishers
- Consuming data with subscribers
- Publishing data
- Creating a simple Combine data stream
- Calling REST APIs
- Handling errors
- Using testing
- Managing threads with schedulers
- Throttling publisher data
- Leveraging advanced operators
Skill Level Advanced
1. Introduction to Combine
2. Combine Fundamentals
3. Work with REST APIs
4. Advanced Concepts
Go forth and code1m 31s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.