Add 'encode' option to BaseHtm::error()

Corrected description. Sorry, first time on github, didn't get used to preview changes before commit.