escape error message.