Update error messages. Based on http://johnaugust.com/2014/on-error-messages.