Toggle Navigation
Each
Pod
Each
Pod
Podcasts
Episodes
Genres
Login
Fatal Error
16. Swifty Error Handling
16. Swifty Error Handling
Author
Soroush Khanlou & Chris Dzombak
Published
Mon 06 Feb 2017
Episode Link
https://fatalerror.fm/episodes/2017/2/6/16-swifty-error-handling
Representing and Throwing Errors in Swift
Cocoa with Love:
Values and errors, part 1: ‘Result’ in Swift
antitypical/Result
Sunset Lake Software:
Swift 2 Error Handling in Practice
Soroush:
Decoding JSON
[swift-evolution] throws as returning a Result
Joe Fabisevich
on Twitter: “Food for thought when considering Swift’s un-typed errors. Do types end up mattering much?”
Java Exception Handling
Olivier Halligon —
Asynchronous error handling
Swift Asserts: the missing manual
reviews fatalError and the other ways for your code to fail at runtime
Never
: “The return type of functions that do not return normally; a type with no values.”
Railway Oriented Programming
Scott Wlaschin - Railway Oriented Programming — error handling in functional languages
Additional Reading (not covered in the show)
Swift Error Handling and Objective-C Interop In Depth
Partial functions in Swift, Part 1: Avoidance
Share to: