Update day8.md

Added how to use variables in the error messages.