Chapter 7 - Typo in Group error handling

Minor text fix, the UnreliableAPI is a singleton and the action function is an instance function, not a static. It was also missing the await.

Code should read :
try await UnreliableAPI.shared.action(failingEvery: 10)

@icanzilb please see suggestion

Hi Peter, could you be more specific in what version of the book are you using and where is the code that you refer to located?

Hello @icanzilb Marin. Seems like I may have been reading an old version, latest version from RayWenderlich site has this fixed in the Epub.

Can close this.