Properly encode exceptions in Gdn_Form->AddError().