it formats the error in html for the email and JSO...
# suitescript
k
it formats the error in html for the email and JSON for the onscreen error