Closed allantl closed 6 years ago
Erm, not cleanly. After you've run the AppM
you would then need to handle this Error
separately to the others.
Seems like a confusing leftover from a recent refactoring, sorry about that. I'll fix it up so it makes a bit more sense. :+1:
In level 07, Core.hs (in function
app
)Since
mkErrorResponse
, now returns anAppM Response
. When you run it, the return will beIO (Either Error a)
.I'm a bit lost here, how do you handle the error case?