Repositories & Errors

One more layer: the repository

Screens never call Network.api directly. Between the raw API and the UI sits a repository β€” a small object whose only job is "know how to get this app's data." WalkerRepository is about as simple as it gets: