Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 681 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 681 Bytes

Error handling in Combine

This playground showcases behavior of different Error handling operators available in Combine framework:

  • assertNoFailure
  • catch
  • mapError
  • setFailureType
  • retry
  • replaceError

SharedCode.swift file (located in Sources) contains a definition of used Subject, errors and closures used in Playground's pages files.

Blog post about errors in Combine which describes examples from this playground

Screenshot

Should work well on Xcode 11.0 beta 4 (11M374r) and above.