Lesson 9: Better Error Messages

  • 11 minutes
Validation Applicative errors newtypes

We have come a very long way in this course and we might be tempted to rest after all we’ve done. However, with a just a little more effort we can pass much nicer, easier to read error messages along to our users. To facilitate this, we write a stringCoerce function so that we can use String functions with our Error newtype, and then we finish the course with tidy and informative error messages.

This lesson will be released after Julie recovers from bronchitis.