swift
cd31fa0f - [Async Refactoring] Improve fatalError message to unwrap result arguments in continuation

Commit
4 years ago
[Async Refactoring] Improve fatalError message to unwrap result arguments in continuation In the previous `fatalError` message `Expected non-nil result 'result' for nil error`, it wasn’t exactly clear wht the `error` referred to. In some cases, when the error was ignored, there wasn’t even an `error` variable in the refactored code. The new `Expected non-nil result '...' in the non-error case` is a little more generic and also fits if an error is ignored.
Author
Committer
Parents
Loading