Add docs on custom error messages to README

Also fix a naming issue