Syntactically nicer way of handling errors in Swift

Refer to this idea and comments bellow:

3 Likes