Daily iOS
Swift

Error handling

When designing a network layer, which would you make the default: throws functions, returning Result<T, E>, or Swift 6 typed throws (throws(NetworkError))?

Submit